]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: servers: Use LIST_DEL_INIT() instead of LIST_DEL().
authorOlivier Houchard <ohouchard@haproxy.com>
Fri, 20 Sep 2019 16:08:29 +0000 (18:08 +0200)
committerOlivier Houchard <cognet@ci0.org>
Mon, 23 Sep 2019 16:16:08 +0000 (18:16 +0200)
commit9570ecf662db3ebaf2dee02feee84f56b4510ed7
tree305a4a824068820b6037bdb6f54644dd28c6cd2b
parent5e9b92cbff7d877ea07b3b52461ae603a8ffd622
MEDIUM: servers: Use LIST_DEL_INIT() instead of LIST_DEL().

In srv_add_to_idle_list(), use LIST_DEL_INIT instead of just LIST_DEL.
We're about to add the connection to a mt_list, and MT_LIST_ADD/MT_LIST_ADDQ
will be modified to make sure we're not adding the element if it's already
in a list.
include/proto/server.h