summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--plugins/negate.c4
2 files changed, 4 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index cfc0a7c..ccc3e07 100644
--- a/NEWS
+++ b/NEWS
@@ -25,6 +25,7 @@ This file documents the major additions and syntax changes between releases.
25 Fixed passing of quotes in OID for check_snmp (#1985230 - Jan Wagner, patch by John Barbuto) 25 Fixed passing of quotes in OID for check_snmp (#1985230 - Jan Wagner, patch by John Barbuto)
26 Fixed check_http sending HTTP/1.0 with v1.1 headers (#2638765) 26 Fixed check_http sending HTTP/1.0 with v1.1 headers (#2638765)
27 Fixed check_http not timing-out on redirects 27 Fixed check_http not timing-out on redirects
28 Fixed negate not printing the real timeout in ALRM handler when left to default
28 29
291.4.13 25th Sept 2008 301.4.13 25th Sept 2008
30 Fix Debian bug #460097: check_http --max-age broken (Hilko Bengen) 31 Fix Debian bug #460097: check_http --max-age broken (Hilko Bengen)
diff --git a/plugins/negate.c b/plugins/negate.c
index 0808b68..e8be83d 100644
--- a/plugins/negate.c
+++ b/plugins/negate.c
@@ -67,6 +67,8 @@ main (int argc, char **argv)
67 bindtextdomain (PACKAGE, LOCALEDIR); 67 bindtextdomain (PACKAGE, LOCALEDIR);
68 textdomain (PACKAGE); 68 textdomain (PACKAGE);
69 69
70 timeout_interval = DEFAULT_TIMEOUT;
71
70 command_line = (char **) process_arguments (argc, argv); 72 command_line = (char **) process_arguments (argc, argv);
71 73
72 /* Set signal handling and alarm */ 74 /* Set signal handling and alarm */
@@ -242,7 +244,7 @@ print_help (void)
242 244
243 printf (_(UT_HELP_VRSN)); 245 printf (_(UT_HELP_VRSN));
244 246
245 printf (_(UT_TIMEOUT), DEFAULT_TIMEOUT); 247 printf (_(UT_TIMEOUT), timeout_interval);
246 printf (" %s\n", _("Keep timeout longer than the plugin timeout to retain CRITICAL status.")); 248 printf (" %s\n", _("Keep timeout longer than the plugin timeout to retain CRITICAL status."));
247 249
248 printf(" -o, --ok=STATUS\n"); 250 printf(" -o, --ok=STATUS\n");