CLEANUP: mux-h2: use LIST_ADDED() instead of LIST_ISEMPTY() where relevant
authorWilly Tarreau <w@1wt.eu>
Mon, 13 May 2019 15:56:11 +0000 (17:56 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 13 May 2019 17:14:52 +0000 (19:14 +0200)
commitc234ae38f859ee0b96455b207bb7031cf5fa036d
tree1ff0bd9d86630c3b3154ef19c4f61817d0ddcb50
parent42ccb5ac45058a4ad8a74794414e76ec371d50c0
CLEANUP: mux-h2: use LIST_ADDED() instead of LIST_ISEMPTY() where relevant

Lots of places were using LIST_ISEMPTY() to detect if a stream belongs
to one of the send lists or to detect if a connection was already
waiting for a buffer or attached to an idle list. Since these ones are
not list heads but list elements, let's use LIST_ADDED() instead.
src/mux_h2.c