]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mt_lists: Do nothing in MT_LIST_ADD/MT_LIST_ADDQ if already in list.
authorOlivier Houchard <ohouchard@haproxy.com>
Fri, 20 Sep 2019 12:44:22 +0000 (14:44 +0200)
committerOlivier Houchard <cognet@ci0.org>
Mon, 23 Sep 2019 16:16:08 +0000 (18:16 +0200)
commitcb22ad4f7191960e28f457c064ca2d8e6328fc12
treed3ddaabe01244e5b6fed7f68ff56d94a567e727f
parent9570ecf662db3ebaf2dee02feee84f56b4510ed7
MINOR: mt_lists: Do nothing in MT_LIST_ADD/MT_LIST_ADDQ if already in list.

Modify MT_LIST_ADD and MT_LIST_ADDQ to do nothing if the element is already
in a list.
include/common/mini-clist.h