diff options
author | M. Sean Finney <seanius@users.sourceforge.net> | 2005-05-25 00:30:19 +0000 |
---|---|---|
committer | M. Sean Finney <seanius@users.sourceforge.net> | 2005-05-25 00:30:19 +0000 |
commit | 8134ec30d1fdf9b9921885154c900d2a88707676 (patch) | |
tree | 15fbf02522099e889e73292bd387c8944b45a9e0 /plugins/check_tcp.c | |
parent | dafcd900153a982467d24358724ff51850f28d4c (diff) | |
download | monitoring-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_tcp.c b/plugins/check_tcp.c index 1bf1f4cb..3087453a 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; |