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 cb7a869..08ec856 100644
--- a/plugins/check_tcp.c
+++ b/plugins/check_tcp.c
@@ -311,7 +311,7 @@ main (int argc, char **argv)
311 311
312 /* did we get the response we hoped? */ 312 /* did we get the response we hoped? */
313 if(match == -2 && result != STATE_CRITICAL) 313 if(match == -2 && result != STATE_CRITICAL)
314 result = STATE_WARNING; 314 result = expect_mismatch_state;
315 315
316 /* reset the alarm */ 316 /* reset the alarm */
317 alarm (0); 317 alarm (0);