summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3d4ca92)
raw | patch | inline | side by side (parent: 3d4ca92)
author | Matthias Eble <psychotrahe@users.sourceforge.net> | |
Sat, 15 Mar 2008 00:14:49 +0000 (00:14 +0000) | ||
committer | Matthias Eble <psychotrahe@users.sourceforge.net> | |
Sat, 15 Mar 2008 00:14:49 +0000 (00:14 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1944 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 b3d2ae397897135ccb369c799bf96c4eed02c8c1..82cd1d9c7ec703d5f6b3413ade492321000627ee 100644 (file)
--- a/plugins/check_http.c
+++ b/plugins/check_http.c
/* optionally send the host header info */
if (host_name)
- asprintf (&buf, "%sHost: %s\r\n", buf, host_name);
+ asprintf (&buf, "%sHost: %s:%d\r\n", buf, host_name, server_port);
/* optionally send any other header tag */
if (http_opt_headers_count) {