]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
urlapi: use a correct value for CURLU_NO_GUESS_SCHEME
authorDaniel Stenberg <daniel@haxx.se>
Wed, 12 Jun 2024 09:06:34 +0000 (11:06 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 12 Jun 2024 11:14:03 +0000 (13:14 +0200)
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

include/curl/urlapi.h

index c29631cf4197c9d8f9a9765eb03551a063019256..438752256ffab560444fd1f4e1831f13a6be9510 100644 (file)
@@ -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;