summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl DeBisschop <kdebisschop@users.sourceforge.net>2003-04-07 11:39:04 (GMT)
committerKarl DeBisschop <kdebisschop@users.sourceforge.net>2003-04-07 11:39:04 (GMT)
commitf2c630602a57e430c14fdb1bd950ad87cb3c665c (patch)
tree2c9b11c1db8b4bd7ced6d9cfa107c47cd73c321a
parentb785fae376955045c2667073071678be647f0e17 (diff)
downloadmonitoring-plugins-f2c630602a57e430c14fdb1bd950ad87cb3c665c.tar.gz
ste timeout one second greater than critical time
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@471 f882894a-f735-0410-b71e-b25c423dba1c
-rw-r--r--plugins/check_http.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/check_http.c b/plugins/check_http.c
index 4734d75..31d8646 100644
--- a/plugins/check_http.c
+++ b/plugins/check_http.c
@@ -486,6 +486,9 @@ process_arguments (int argc, char **argv)
486 asprintf (&server_address, "%s", host_name); 486 asprintf (&server_address, "%s", host_name);
487 } 487 }
488 488
489 if (check_critical_time && critical_time>(double)socket_timeout)
490 socket_timeout = (int)critical_time + 1;
491
489 return TRUE; 492 return TRUE;
490} 493}
491 494