diff options
author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2023-10-29 11:09:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-29 11:09:00 +0100 |
commit | 77e38ac1c025b8431d1834a2c1059f9677c78ab1 (patch) | |
tree | aa8dc016303530e56155826f355cb7e3c3a4ee94 /plugins/check_http.c | |
parent | 2eea6bb2a04bbfb169bac5f0f7c319f998e8ab87 (diff) | |
parent | eead88edda047843b911afd7b63e7decfee306ce (diff) | |
download | monitoring-plugins-77e38ac.tar.gz |
Merge pull request #1953 from RincewindsHat/compiler_warnings-sign-compare
Fixes for -Wsign-compare
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; |