summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-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