CLEANUP: tcpcheck: Remove useless test on the stream-connector in tcpcheck_main
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 30 May 2022 06:37:39 +0000 (08:37 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 30 May 2022 06:37:40 +0000 (08:37 +0200)
commit560b8da258d03e0164d449983d28f9886c618e34
tree5188bc1f23f4668c8339b9b30a5da581247b2024
parent464193793e97a6460784ce59373ed387105a031c
CLEANUP: tcpcheck: Remove useless test on the stream-connector in tcpcheck_main

Thanks to the recent refactoring, when tcpcheck_main() function is called,
the stream-connector of the healthchek is always defined. There is no reason
to still test it.

This patch should fix the issue #1721.
src/tcpcheck.c