diff --git a/src/protocol/http/http.c b/src/protocol/http/http.c index fc9cd4b90..bcd78b031 100644 --- a/src/protocol/http/http.c +++ b/src/protocol/http/http.c @@ -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