From 51828957047381eab22708e84aae032fd9167319 Mon Sep 17 00:00:00 2001 From: Jan Wagner Date: Sat, 23 Aug 2008 13:41:17 +0000 Subject: [PATCH] let the patch apply --- debian/changelog | 1 + debian/patches/40_check_http_status_line.dpatch | 9 +++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/debian/changelog b/debian/changelog index 1910ecc..8970726 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,7 @@ nagios-plugins (1.4.12-3) UNRELEASED; urgency=low * rename 40_check_http_status_line.patch to 40_check_http_status_line.dpatch + and make it able to apply * add 40_check_http_status_line.dpatch to 00list to really fix #486932 -- Jan Wagner Fri, 04 Jul 2008 17:04:02 +0200 diff --git a/debian/patches/40_check_http_status_line.dpatch b/debian/patches/40_check_http_status_line.dpatch index d06f14a..8b4d01b 100644 --- a/debian/patches/40_check_http_status_line.dpatch +++ b/debian/patches/40_check_http_status_line.dpatch @@ -5,9 +5,10 @@ ## DP: adds status_line to check_http output @DPATCH@ ---- check_http.c~ 2008-06-19 11:42:25.000000000 +0200 -+++ check_http.c 2008-06-19 11:42:25.000000000 +0200 -@@ -912,11 +912,12 @@ +diff -urNad nagios-plugins-1.4.12~/plugins/check_http.c nagios-plugins-1.4.12/plugins/check_http.c +--- nagios-plugins-1.4.12~/plugins/check_http.c 2008-08-23 15:34:17.000000000 +0200 ++++ nagios-plugins-1.4.12/plugins/check_http.c 2008-08-23 15:36:20.000000000 +0200 +@@ -879,11 +879,12 @@ if (!strstr (status_line, server_expect)) { if (server_port == HTTP_PORT) asprintf (&msg, @@ -20,6 +21,6 @@ - server_port); + _("Invalid HTTP response received from host on port %d: %s\n"), + server_port, status_line); - die (STATE_CRITICAL, "%s", msg); + die (STATE_CRITICAL, "HTTP CRITICAL - %s", msg); }