diff options
author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2023-11-01 11:05:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-01 11:05:50 +0100 |
commit | 6d08e1c8c96d0327a5b819dc1fbb0d5754f3e2e5 (patch) | |
tree | 575867b1d1eef4cd20215f22f9151ebb4a02c93d /plugins/check_http.c | |
parent | 03bde80abbda6fba2225568c3285a2ff2b5445a8 (diff) | |
parent | 76d9f25cd0dbe99657baeb6fa139a1831558adae (diff) | |
download | monitoring-plugins-6d08e1c.tar.gz |
Merge branch 'master' into fix_check_mailq
Diffstat (limited to 'plugins/check_http.c')
-rw-r--r-- | plugins/check_http.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_http.c b/plugins/check_http.c index b9d8145c..110f1188 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; |