summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-08-02 09:26:02 +0000
committerChristian Grothoff <christian@grothoff.org>2016-08-02 09:26:02 +0000
commitaa338b48e4929af2609d758c054a585fc8e4c62e (patch)
tree80a78365f3fc8f702ee7f76f1bfa4e0a0108761b
parent0d1e59bc6e563183db090d393acaa9c9d605edee (diff)
-dce
-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)
{
char *rpos = val;
char *wpos = val;
- char *end;
- char buf3[3];
while ('\0' != *rpos)
{
@@ -173,8 +171,8 @@ MHD_http_unescape (char *val)
* clobbered in the process!
* @param cb function to call on each key-value pair found
* @param[out] num_headers set to the number of headers found
- * @return #MHD_NO on failure (@a cb returned #MHD_NO),
- * #MHD_YES for success (parsing succeeded, @a cb always
+ * @return #MHD_NO on failure (@a cb returned #MHD_NO),
+ * #MHD_YES for success (parsing succeeded, @a cb always
* returned #MHD_YES)
*/
int
@@ -223,7 +221,7 @@ MHD_parse_arguments_ (struct MHD_Connection *connection,
daemon->unescape_callback (daemon->unescape_callback_cls,
connection,
equals);
- if (MHD_YES != cb (connection,
+ if (MHD_YES != cb (connection,
args,
equals,
kind))
@@ -266,7 +264,7 @@ MHD_parse_arguments_ (struct MHD_Connection *connection,
equals);
if (MHD_YES != cb (connection,
args,
- equals,
+ equals,
kind))
return MHD_NO;
(*num_headers)++;