summaryrefslogtreecommitdiffstats
path: root/plugins/check_http.c
diff options
context:
space:
mode:
authorLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2023-11-01 10:05:50 (GMT)
committerGitHub <noreply@github.com>2023-11-01 10:05:50 (GMT)
commit6d08e1c8c96d0327a5b819dc1fbb0d5754f3e2e5 (patch)
tree575867b1d1eef4cd20215f22f9151ebb4a02c93d /plugins/check_http.c
parent03bde80abbda6fba2225568c3285a2ff2b5445a8 (diff)
parent76d9f25cd0dbe99657baeb6fa139a1831558adae (diff)
downloadmonitoring-plugins-6d08e1c8c96d0327a5b819dc1fbb0d5754f3e2e5.tar.gz
Merge branch 'master' into fix_check_mailqrefs/pull/1956/head
Diffstat (limited to 'plugins/check_http.c')
-rw-r--r--plugins/check_http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_http.c b/plugins/check_http.c
index b9d8145..110f118 100644
--- a/plugins/check_http.c
+++ b/plugins/check_http.c
@@ -471,7 +471,7 @@ bool process_arguments (int argc, char **argv)
471 free(http_method); 471 free(http_method);
472 http_method = strdup (optarg); 472 http_method = strdup (optarg);
473 char *tmp; 473 char *tmp;
474 if ((tmp = strstr(http_method, ":")) > 0) { 474 if ((tmp = strstr(http_method, ":")) != NULL) {
475 tmp[0] = '\0'; 475 tmp[0] = '\0';
476 http_method = http_method; 476 http_method = http_method;
477 http_method_proxy = ++tmp; 477 http_method_proxy = ++tmp;