aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGravatar Jeremy T. Bouse <undrgrid@users.sourceforge.net> 2003-03-12 02:23:47 +0000
committerGravatar Jeremy T. Bouse <undrgrid@users.sourceforge.net> 2003-03-12 02:23:47 +0000
commit831d03cd768cb4d1f96d3cabd6262a0a55f904e7 (patch)
treeb6be9e016c5b3b5cfe4f1f7556d6e687621dcc6b /plugins
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
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)
{
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);
}