]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: cli: deduplicate the code in _getsocks
authorWilliam Lallemand <wlallemand@haproxy.org>
Thu, 16 Jan 2020 15:26:41 +0000 (16:26 +0100)
committerWilliam Lallemand <wlallemand@haproxy.org>
Thu, 16 Jan 2020 15:26:41 +0000 (16:26 +0100)
commitd308c5e0cef224940b65fd2641b55fa9d00328a8
tree98177353e282874146113d1411b4ba2c95f6a23a
parent5fd3b28c9c071376a9bffb427b25872ffc068601
CLEANUP: cli: deduplicate the code in _getsocks

Since the fix 5fd3b28 ("BUG/MEDIUM: cli: _getsocks must send the peers
sockets") for bug #443. The code which sends the socket for the peers
and the proxies is duplicated. This patch move this code in a separated
function.
src/cli.c