libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit aa338b48e4929af2609d758c054a585fc8e4c62e
parent 0d1e59bc6e563183db090d393acaa9c9d605edee
Author: Christian Grothoff <christian@grothoff.org>
Date:   Tue,  2 Aug 2016 09:26:02 +0000

-dce

Diffstat:
Msrc/microhttpd/internal.c | 10++++------
1 file changed, 4 insertions(+), 6 deletions(-)

diff --git 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)++;