summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b785fae)
raw | patch | inline | side by side (parent: b785fae)
author | Karl DeBisschop <kdebisschop@users.sourceforge.net> | |
Mon, 7 Apr 2003 11:39:04 +0000 (11:39 +0000) | ||
committer | Karl DeBisschop <kdebisschop@users.sourceforge.net> | |
Mon, 7 Apr 2003 11:39:04 +0000 (11:39 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@471 f882894a-f735-0410-b71e-b25c423dba1c
plugins/check_http.c | patch | blob | history |
diff --git a/plugins/check_http.c b/plugins/check_http.c
index 4734d75c5c43b4fde66490986f89046399424786..31d8646234fe6fe7ceeb6bb21713ffdbfd44deee 100644 (file)
--- a/plugins/check_http.c
+++ b/plugins/check_http.c
asprintf (&server_address, "%s", host_name);
}
+ if (check_critical_time && critical_time>(double)socket_timeout)
+ socket_timeout = (int)critical_time + 1;
+
return TRUE;
}
\f