commit | 73edfe402e8edbe95942c2ee236775a9e658938d | [log] [tgz] |
---|---|---|
author | William Lallemand <wlallemand@haproxy.org> | Thu May 05 17:36:09 2022 +0200 |
committer | William Lallemand <wlallemand@haproxy.org> | Thu May 05 17:38:48 2022 +0200 |
tree | 57926e85e933a7973ab8aa45470c06f1de3f4e63 | |
parent | 106bd29dd01b018579e8bd714b98fa45e6b4bbc9 [diff] |
MINOR: resolvers: move the resolv.conf parser in parse_resolv_conf() Move the resolv.conf parser from the cfg_parse_resolvers so it could be used separately. Some changes were made in the memprintf in order to use a char ** instead of a char *. Also the variable is tested before each memprintf so could skip them if no warnmsg nor errmsg were set.