aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/internal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/internal.c')
-rw-r--r--src/microhttpd/internal.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/microhttpd/internal.c b/src/microhttpd/internal.c
index 035a1551..b4ecd069 100644
--- a/src/microhttpd/internal.c
+++ b/src/microhttpd/internal.c
@@ -134,8 +134,6 @@ MHD_http_unescape (char *val)
134{ 134{
135 char *rpos = val; 135 char *rpos = val;
136 char *wpos = val; 136 char *wpos = val;
137 char *end;
138 char buf3[3];
139 137
140 while ('\0' != *rpos) 138 while ('\0' != *rpos)
141 { 139 {
@@ -173,8 +171,8 @@ MHD_http_unescape (char *val)
173 * clobbered in the process! 171 * clobbered in the process!
174 * @param cb function to call on each key-value pair found 172 * @param cb function to call on each key-value pair found
175 * @param[out] num_headers set to the number of headers found 173 * @param[out] num_headers set to the number of headers found
176 * @return #MHD_NO on failure (@a cb returned #MHD_NO), 174 * @return #MHD_NO on failure (@a cb returned #MHD_NO),
177 * #MHD_YES for success (parsing succeeded, @a cb always 175 * #MHD_YES for success (parsing succeeded, @a cb always
178 * returned #MHD_YES) 176 * returned #MHD_YES)
179 */ 177 */
180int 178int
@@ -223,7 +221,7 @@ MHD_parse_arguments_ (struct MHD_Connection *connection,
223 daemon->unescape_callback (daemon->unescape_callback_cls, 221 daemon->unescape_callback (daemon->unescape_callback_cls,
224 connection, 222 connection,
225 equals); 223 equals);
226 if (MHD_YES != cb (connection, 224 if (MHD_YES != cb (connection,
227 args, 225 args,
228 equals, 226 equals,
229 kind)) 227 kind))
@@ -266,7 +264,7 @@ MHD_parse_arguments_ (struct MHD_Connection *connection,
266 equals); 264 equals);
267 if (MHD_YES != cb (connection, 265 if (MHD_YES != cb (connection,
268 args, 266 args,
269 equals, 267 equals,
270 kind)) 268 kind))
271 return MHD_NO; 269 return MHD_NO;
272 (*num_headers)++; 270 (*num_headers)++;