From a4c8d2a2b9bcf42d8ddba4f9706febebaaed1ad5 Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Sat, 15 Jan 2022 19:16:16 +0100 Subject: [PATCH] [http] int -> enum uri_component --- src/protocol/http/http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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