diff options
Diffstat (limited to 'web')
-rw-r--r-- | web/server/web_client.c | 2 | ||||
-rw-r--r-- | web/server/web_client.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/web/server/web_client.c b/web/server/web_client.c index f0856fb173..30c9e5c6b3 100644 --- a/web/server/web_client.c +++ b/web/server/web_client.c @@ -55,7 +55,7 @@ static inline int web_client_uncrock_socket(struct web_client *w) { return 0; } -static inline char *strip_control_characters(char *url) { +char *strip_control_characters(char *url) { char *s = url; if(!s) return ""; diff --git a/web/server/web_client.h b/web/server/web_client.h index 48bf1ac862..4580b97497 100644 --- a/web/server/web_client.h +++ b/web/server/web_client.h @@ -211,6 +211,7 @@ extern void buffer_data_options2string(BUFFER *wb, uint32_t options); extern int mysendfile(struct web_client *w, char *filename); extern void web_client_build_http_header(struct web_client *w); +extern char *strip_control_characters(char *url); #include "daemon/common.h" |