]> git.kaiwu.me - haproxy.git/commit
MINOR: httpclient: cleanup the error handling in init
authorWilliam Lallemand <wlallemand@haproxy.org>
Wed, 4 May 2022 12:33:57 +0000 (14:33 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Wed, 4 May 2022 12:33:57 +0000 (14:33 +0200)
commit85af49c5c83ba8f4c8e79465f4fccf4b6b5b3b97
treee7485be6c730771767a1f58fa4f5195ebb4dfbfe
parent8b9a2df969a38373328e0ad44ce8f0f8ea62c051
MINOR: httpclient: cleanup the error handling in init

Cleanup the error handling in the initialization so we rely on the
ERR_CODE and use memprintf() to set the errmsg before printing it at the
end of the functions.
src/http_client.c