1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

[http] int -> enum uri_component

This commit is contained in:
Witold Filipczyk 2022-01-15 19:16:16 +01:00
parent a3eb8a369d
commit a4c8d2a2b9

View File

@ -339,7 +339,7 @@ subst_user_agent(char *fmt, char *version,
}
static void
add_url_to_http_string(struct string *header, struct uri *uri, int components)
add_url_to_http_string(struct string *header, struct uri *uri, enum uri_component components)
{
/* This block substitues spaces in URL by %20s. This is
* certainly not the right place where to do it, but now the