commit | aae7320b0dd9a379792d7cbe3304b23bdb045740 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Oct 19 22:01:36 2021 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Wed Oct 20 17:54:14 2021 +0200 |
tree | 7e9402566102891dbd9a840e72e17ba9fc6c3bb7 | |
parent | 239675e4a955b219e915fa11a1a03c7aacc13ccd [diff] |
CLEANUP: resolvers: replace all LIST_DELETE with LIST_DEL_INIT The code as it is uses crossed lists between many elements, and at many places the code relies on list iterators or emptiness checks, which does not work with only LIST_DELETE. Further, it is quite difficult to place debugging code and checks in the current situation, and gdb is helpless. This code replaces all LIST_DELETE calls with LIST_DEL_INIT so that it becomes possible to trust the lists.