MINOR: resolvers: cleanup alert/warning in parse-resolve-conf
authorWilliam Lallemand <wlallemand@haproxy.org>
Thu, 5 May 2022 15:20:08 +0000 (17:20 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Thu, 5 May 2022 15:33:42 +0000 (17:33 +0200)
commit106bd29dd01b018579e8bd714b98fa45e6b4bbc9
tree28b2f165b19eb453bab52d59c287b5510ed50699
parent24dda9403a7f1ca4a7425ead8da4e3ba4a0cd131
MINOR: resolvers: cleanup alert/warning in parse-resolve-conf

Cleanup the alert and warning handling in the "parse-resolve-conf"
parser to use the errmsg and warnmsg variables and memprintf.

This will allow to split the parser and shut the alert/warning if
needed.
src/resolvers.c