]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: task: use list_to_mt_list() instead of casting list to mt_list
authorWilly Tarreau <w@1wt.eu>
Fri, 28 Jan 2022 08:48:12 +0000 (09:48 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 28 Jan 2022 18:04:02 +0000 (19:04 +0100)
commitcc5cd5b8d8b83aea3a02ce97c281f5b8f36e078c
treef674289559fdb65f1e4256ddfe64543fbab10348
parentf3d5c4b032274e4b5e1879a616e93890043349f6
BUILD: task: use list_to_mt_list() instead of casting list to mt_list

There were a few casts of list* to mt_list* that were upsetting some
old compilers (not sure about the effect on others). We had created
list_to_mt_list() purposely for this, let's use it instead of applying
this cast.
include/haproxy/task.h
src/task.c