CLEANUP: tcpcheck: Remove a useless test on port variable
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 12 Feb 2021 15:09:13 +0000 (16:09 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 12 Feb 2021 15:42:00 +0000 (16:42 +0100)
commitb1d19eab1c8d6148e286e000291ae116afa1a0f6
treeeeb8c3b89159f75d80219751d0a28ac2f066780c
parentb4d3708cb7e99b35cf10bfe7281e45b560e41593
CLEANUP: tcpcheck: Remove a useless test on port variable

When a connect rule is evaluated a test is performed on the "port" variable
while it is set to 0 just on the line just above. Just remove this useless
test to make ccpcheck happy.

This patch fixes the issue #1113.
src/tcpcheck.c