From: Daniel Stenberg Date: Thu, 4 Jul 2024 21:49:37 +0000 (+0200) Subject: tool_operate: check for --disable case *sensitively* X-Git-Tag: curl-8_9_0~117 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bf88cdb7907cef00772b27e501810a3f294fcf0a;p=thirdparty%2Fcurl.git tool_operate: check for --disable case *sensitively* curl command line options are specified with the correct casing or they don't match Closes #14103 --- diff --git a/src/tool_operate.c b/src/tool_operate.c index 36a39c3659..51c4041f2e 100644 --- a/src/tool_operate.c +++ b/src/tool_operate.c @@ -2813,7 +2813,7 @@ CURLcode operate(struct GlobalConfig *global, int argc, argv_item_t argv[]) /* Parse .curlrc if necessary */ if((argc == 1) || (first_arg && strncmp(first_arg, "-q", 2) && - !curl_strequal(first_arg, "--disable"))) { + strcmp(first_arg, "--disable"))) { parseconfig(NULL, global); /* ignore possible failure */ /* If we had no arguments then make sure a url was specified in .curlrc */