aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/check_tcp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/check_tcp.c b/plugins/check_tcp.c
index 3461c333..158475e9 100644
--- a/plugins/check_tcp.c
+++ b/plugins/check_tcp.c
@@ -228,7 +228,8 @@ main (int argc, char **argv)
{
if (PROTOCOL == UDP_PROTOCOL)
result = my_udp_connect (server_address, server_port, &sd);
- else /* default is TCP */
+ else
+ /* default is TCP */
result = my_tcp_connect (server_address, server_port, &sd);
}