From: Daniel Stenberg Date: Wed, 12 Jun 2024 09:06:34 +0000 (+0200) Subject: urlapi: use a correct value for CURLU_NO_GUESS_SCHEME X-Git-Tag: curl-8_9_0~255 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=02730befc1558a1720d85143c4cd7bff714f697f;p=thirdparty%2Fcurl.git urlapi: use a correct value for CURLU_NO_GUESS_SCHEME It was mistakenly set to the same value as CURLU_GET_EMPTY uses. Reported-by: Patrick Monnerat Bug: https://github.com/curl/curl/commit/655d44d139489625e77cf6790d36 Closes #13926 --- diff --git a/include/curl/urlapi.h b/include/curl/urlapi.h index c29631cf41..438752256f 100644 --- a/include/curl/urlapi.h +++ b/include/curl/urlapi.h @@ -102,7 +102,7 @@ typedef enum { #define CURLU_GET_EMPTY (1<<14) /* allow empty queries and fragments when extracting the URL or the components */ -#define CURLU_NO_GUESS_SCHEME (1<<14) /* for get, don't accept a guess */ +#define CURLU_NO_GUESS_SCHEME (1<<15) /* for get, don't accept a guess */ typedef struct Curl_URL CURLU;