diff options
author | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2023-10-19 12:20:27 +0200 |
---|---|---|
committer | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2023-10-19 12:20:27 +0200 |
commit | 81f3b4165146eedd2da60afc5677ec44a0db9829 (patch) | |
tree | 5387e43d19e023365b55b975abb2b1959d6b20fc /plugins/check_http.c | |
parent | 07f9c438f31de7a280e43c4196a32d200ad41fbe (diff) | |
download | monitoring-plugins-81f3b41.tar.gz |
Fix fallout of the previous changes
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; |