diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/check_http.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/check_http.c b/plugins/check_http.c index 856e1e90..de59a068 100644 --- a/plugins/check_http.c +++ b/plugins/check_http.c | |||
@@ -1155,6 +1155,8 @@ check_http (void) | |||
1155 | xasprintf (&msg, | 1155 | xasprintf (&msg, |
1156 | _("Invalid HTTP response received from host on port %d: %s\n"), | 1156 | _("Invalid HTTP response received from host on port %d: %s\n"), |
1157 | server_port, status_line); | 1157 | server_port, status_line); |
1158 | if (show_body) | ||
1159 | xasprintf (&msg, _("%s\n%s"), msg, page); | ||
1158 | die (STATE_CRITICAL, "HTTP CRITICAL - %s", msg); | 1160 | die (STATE_CRITICAL, "HTTP CRITICAL - %s", msg); |
1159 | } | 1161 | } |
1160 | 1162 | ||