summaryrefslogtreecommitdiffstats
path: root/plugins/check_tcp.c
diff options
context:
space:
mode:
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 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;