diff options
-rw-r--r-- | plugins/check_http.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/check_http.c b/plugins/check_http.c index 4734d75c..31d86462 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; } |