summaryrefslogtreecommitdiffstats
path: root/plugins/t
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/t')
0 files changed, 0 insertions, 0 deletions
diff --git a/plugins/check_tcp.c b/plugins/check_tcp.c
index 2714961..0a6e2b2 100644
--- a/plugins/check_tcp.c
+++ b/plugins/check_tcp.c
@@ -238,7 +238,7 @@ main (int argc, char **argv)
238 gettimeofday (&tv, NULL); 238 gettimeofday (&tv, NULL);
239 239
240 result = np_net_connect (server_address, server_port, &sd, PROTOCOL); 240 result = np_net_connect (server_address, server_port, &sd, PROTOCOL);
241 if (result == STATE_CRITICAL) return STATE_CRITICAL; 241 if (result == STATE_CRITICAL) return econn_refuse_state;
242 242
243#ifdef HAVE_SSL 243#ifdef HAVE_SSL
244 if (flags & FLAG_SSL){ 244 if (flags & FLAG_SSL){