summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-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)
228 { 228 {
229 if (PROTOCOL == UDP_PROTOCOL) 229 if (PROTOCOL == UDP_PROTOCOL)
230 result = my_udp_connect (server_address, server_port, &sd); 230 result = my_udp_connect (server_address, server_port, &sd);
231 else /* default is TCP */ 231 else
232 /* default is TCP */
232 result = my_tcp_connect (server_address, server_port, &sd); 233 result = my_tcp_connect (server_address, server_port, &sd);
233 } 234 }
234 235