From bf88cdb7907cef00772b27e501810a3f294fcf0a Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 4 Jul 2024 23:49:37 +0200 Subject: [PATCH] tool_operate: check for --disable case *sensitively* curl command line options are specified with the correct casing or they don't match Closes #14103 --- src/tool_operate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */