summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy T. Bouse <undrgrid@users.sourceforge.net>2003-03-12 02:23:47 (GMT)
committerJeremy T. Bouse <undrgrid@users.sourceforge.net>2003-03-12 02:23:47 (GMT)
commit831d03cd768cb4d1f96d3cabd6262a0a55f904e7 (patch)
treeb6be9e016c5b3b5cfe4f1f7556d6e687621dcc6b
parent6f621a1118b854070fc34896230b09be66279cb1 (diff)
downloadmonitoring-plugins-831d03cd768cb4d1f96d3cabd6262a0a55f904e7.tar.gz
Code cleanup
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@402 f882894a-f735-0410-b71e-b25c423dba1c
-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 3461c33..158475e 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