]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
urldata: make state.httpreq an unsigned char
authorDaniel Stenberg <daniel@haxx.se>
Wed, 20 Jul 2022 11:57:34 +0000 (13:57 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 23 Jul 2022 11:38:57 +0000 (13:38 +0200)
To match set.method used for the same purpose.

Closes #9179

lib/urldata.h

index 382da3fe2999e88caef46bc5a1d8923ecb8980a5..04edfd1a4e1b7935bfb3a19763539f42e9945044 100644 (file)
@@ -1413,7 +1413,8 @@ struct UrlState {
 #endif
   CURLU *uh; /* URL handle for the current parsed URL */
   struct urlpieces up;
-  Curl_HttpReq httpreq; /* what kind of HTTP request (if any) is this */
+  unsigned char httpreq; /* Curl_HttpReq; what kind of HTTP request (if any)
+                            is this */
   char *url;        /* work URL, copied from UserDefined */
   char *referer;    /* referer string */
 #ifndef CURL_DISABLE_COOKIES