From f2c630602a57e430c14fdb1bd950ad87cb3c665c Mon Sep 17 00:00:00 2001 From: Karl DeBisschop Date: Mon, 7 Apr 2003 11:39:04 +0000 Subject: [PATCH] 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 --- plugins/check_http.c | 3 +++ 1 file changed, 3 insertions(+) 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) asprintf (&server_address, "%s", host_name); } + if (check_critical_time && critical_time>(double)socket_timeout) + socket_timeout = (int)critical_time + 1; + return TRUE; } -- 2.30.2