urldata: make state.httpreq an unsigned char

To match set.method used for the same purpose.

Closes #9179
This commit is contained in:
Daniel Stenberg 2022-07-20 13:57:34 +02:00
parent 32db1ed867
commit dcbc9226bc
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View 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