mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-21 14:17:30 -04:00
MINOR: list: fixing typo in MT_LIST_LOCK_ELT
A minor typo was made in MT_LIST_LOCK_ELT, preventing haproxy from compiling if MT_LIST_LOCK_ELT is used in the code. Today, the macro is unused, and that's the reason why the typo has remained unnoticed for such a long time. Fixing it so it can be used in upcoming developments. No backport required.
This commit is contained in:
parent
1344ebd74e
commit
bcaa401646
1 changed files with 1 additions and 1 deletions
|
|
@ -612,7 +612,7 @@
|
|||
#define MT_LIST_LOCK_ELT(_el) \
|
||||
({ \
|
||||
struct mt_list ret; \
|
||||
struct mt_liet *el = (_el); \
|
||||
struct mt_list *el = (_el); \
|
||||
for (;;__ha_cpu_relax()) { \
|
||||
struct mt_list *n, *n2; \
|
||||
struct mt_list *p, *p2 = NULL; \
|
||||
|
|
|
|||
Loading…
Reference in a new issue