commit | d308c5e0cef224940b65fd2641b55fa9d00328a8 | [log] [tgz] |
---|---|---|
author | William Lallemand <wlallemand@haproxy.org> | Thu Jan 16 16:26:41 2020 +0100 |
committer | William Lallemand <wlallemand@haproxy.org> | Thu Jan 16 16:26:41 2020 +0100 |
tree | 98177353e282874146113d1411b4ba2c95f6a23a | |
parent | 5fd3b28c9c071376a9bffb427b25872ffc068601 [diff] |
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.