lib: rename struct 'http_req' to 'httpreq'

Because FreeBSD 14 kidnapped the name.
Ref: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271526

Fixes #11163
Closes #11164
This commit is contained in:
Daniel Stenberg 2023-05-20 11:55:20 +02:00
parent 36e998b18b
commit 54ce13d3ff
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
4 changed files with 17 additions and 17 deletions

View file

@ -36,7 +36,7 @@
#define H1_PARSE_DEFAULT_MAX_LINE_LEN (8 * 1024)
struct h1_req_parser {
struct http_req *req;
struct httpreq *req;
struct bufq scratch;
size_t scratch_skip;
const char *line;
@ -53,7 +53,7 @@ ssize_t Curl_h1_req_parse_read(struct h1_req_parser *parser,
const char *scheme_default, int options,
CURLcode *err);
CURLcode Curl_h1_req_dprint(const struct http_req *req,
CURLcode Curl_h1_req_dprint(const struct httpreq *req,
struct dynbuf *dbuf);