commit | 0cd6a976ffed82646579b1645a7d60b8ad1a5ffe | [log] [tgz] |
---|---|---|
author | Olivier Houchard <ohouchard@haproxy.com> | Fri Sep 20 17:32:47 2019 +0200 |
committer | Olivier Houchard <cognet@ci0.org> | Mon Sep 23 18:16:08 2019 +0200 |
tree | 10d609e6775b542d310c9629fa94db7aff5e201a | |
parent | cb22ad4f7191960e28f457c064ca2d8e6328fc12 [diff] |
MINOR: mt_lists: Give MT_LIST_ADD, MT_LIST_ADDQ and MT_LIST_DEL a return value. Make it so MT_LIST_ADD and MT_LIST_ADDQ return 1 if it managed to add the item, 0 (because it was already in a list) otherwise. Make it so MT_LIST_DEL returns 1 if it managed to remove the item from a list, or 0 otherwise (because it was in no list).