aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libweb/http.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libweb/http.h b/include/libweb/http.h
index 68ffb9a..80030fb 100644
--- a/include/libweb/http.h
+++ b/include/libweb/http.h
@@ -105,6 +105,6 @@ int http_response_add_header(struct http_response *r, const char *header,
const char *value);
char *http_cookie_create(const char *key, const char *value);
char *http_encode_url(const char *url);
-char *http_decode_url(const char *url, bool spaces);
+int http_decode_url(const char *url, bool spaces, char **out);
#endif /* HTTP_H */