aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/internal.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2014-12-19 23:38:18 +0000
committerChristian Grothoff <christian@grothoff.org>2014-12-19 23:38:18 +0000
commitb2a041e934bd33a033668d2d94053a4e6085c570 (patch)
tree82f8fcf86f6b16454c7075cc678712c12f48cffc /src/microhttpd/internal.c
parent00a5e292872468b37bbfe3be2fefdad680f82cfd (diff)
downloadlibmicrohttpd-b2a041e934bd33a033668d2d94053a4e6085c570.tar.gz
libmicrohttpd-b2a041e934bd33a033668d2d94053a4e6085c570.zip
make MHD_http_unescape() part of API (#3585)
Diffstat (limited to 'src/microhttpd/internal.c')
-rw-r--r--src/microhttpd/internal.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/microhttpd/internal.c b/src/microhttpd/internal.c
index 37ba1471..5039c32d 100644
--- a/src/microhttpd/internal.c
+++ b/src/microhttpd/internal.c
@@ -124,16 +124,12 @@ MHD_unescape_plus (char *arg)
124 * result should be UTF-8 encoded and cannot be larger than the input. 124 * result should be UTF-8 encoded and cannot be larger than the input.
125 * The result must also still be 0-terminated. 125 * The result must also still be 0-terminated.
126 * 126 *
127 * @param cls closure (use NULL)
128 * @param connection handle to connection, not used
129 * @param val value to unescape (modified in the process) 127 * @param val value to unescape (modified in the process)
130 * @return length of the resulting val (strlen(val) maybe 128 * @return length of the resulting val (strlen(val) maybe
131 * shorter afterwards due to elimination of escape sequences) 129 * shorter afterwards due to elimination of escape sequences)
132 */ 130 */
133size_t 131size_t
134MHD_http_unescape (void *cls, 132MHD_http_unescape (char *val)
135 struct MHD_Connection *connection,
136 char *val)
137{ 133{
138 char *rpos = val; 134 char *rpos = val;
139 char *wpos = val; 135 char *wpos = val;