summaryrefslogtreecommitdiffstats
path: root/plugins/check_tcp.c
diff options
context:
space:
mode:
authorM. Sean Finney <seanius@users.sourceforge.net>2005-05-25 00:30:19 (GMT)
committerM. Sean Finney <seanius@users.sourceforge.net>2005-05-25 00:30:19 (GMT)
commit8134ec30d1fdf9b9921885154c900d2a88707676 (patch)
tree15fbf02522099e889e73292bd387c8944b45a9e0 /plugins/check_tcp.c
parentdafcd900153a982467d24358724ff51850f28d4c (diff)
downloadmonitoring-plugins-8134ec30d1fdf9b9921885154c900d2a88707676.tar.gz
bah, my_connect is taken by mysql. now calling it np_net_connect.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1176 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_tcp.c')
-rw-r--r--plugins/check_tcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_tcp.c b/plugins/check_tcp.c
index 1bf1f4c..3087453 100644
--- a/plugins/check_tcp.c
+++ b/plugins/check_tcp.c
@@ -284,7 +284,7 @@ main (int argc, char **argv)
284 result = connect_SSL (); 284 result = connect_SSL ();
285 else 285 else
286#endif 286#endif
287 result = my_connect (server_address, server_port, &sd, PROTOCOL); 287 result = np_net_connect (server_address, server_port, &sd, PROTOCOL);
288 288
289 if (result == STATE_CRITICAL) 289 if (result == STATE_CRITICAL)
290 return STATE_CRITICAL; 290 return STATE_CRITICAL;