[monitoring-plugins] check_http: Fix HD6 definition

Sven Nierlein git at monitoring-plugins.org
Sun Sep 18 20:50:11 CEST 2022


    Module: monitoring-plugins
    Branch: master
    Commit: 80872917294340a1e399b8a100c5a81c4f719220
    Author: Jan Wagner <waja at cyconet.org>
 Committer: Sven Nierlein <sven at nierlein.org>
      Date: Sat Dec 31 13:57:44 2016 +0100
       URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=8087291

check_http: Fix HD6 definition

---

 plugins/check_http.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/check_http.c b/plugins/check_http.c
index fb38bc5..ff39c59 100644
--- a/plugins/check_http.c
+++ b/plugins/check_http.c
@@ -1365,7 +1365,7 @@ check_http (void)
 #define HD4 URI_HTTP "://" URI_HOST
 /* relative reference redirect like //www.site.org/test https://tools.ietf.org/html/rfc3986 */
 #define HD5 "//" URI_HOST "/" URI_PATH
-#define HD5 URI_PATH
+#define HD6 URI_PATH
 
 void
 redir (char *pos, char *status_line)



More information about the Commits mailing list