libmicrohttpd

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

commit 6dd2096b4bf725faa41027b2370cdf4765504716
parent 8036d0e3aff91263ca4b656fe9cfbe926cecb8e3
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date:   Wed, 15 Sep 2021 17:37:58 +0300

Fixed f032145edcb39e0445e4f78fec51867b9f89706c

Ensure that parsing fail because of the wrong format, not
because of the callback.

Diffstat:
Msrc/microhttpd/test_postprocessor.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/microhttpd/test_postprocessor.c b/src/microhttpd/test_postprocessor.c @@ -680,7 +680,7 @@ test_empty_key (void) MHD_STATICSTR_LEN_ (MHD_HTTP_POST_ENCODING_FORM_URLENCODED); header.kind = MHD_HEADER_KIND; pp = MHD_create_post_processor (&connection, - 1024, &value_checker, NULL); + 1024, &value_checker2, NULL); if (NULL == pp) { fprintf (stderr, "Failed to create post processor.\n"