diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2021-09-15 17:37:58 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2021-09-15 17:37:58 +0300 |
commit | 6dd2096b4bf725faa41027b2370cdf4765504716 (patch) | |
tree | d207836ab680fd096da2a9bdb4b1e16a57e8a217 /src/microhttpd/test_postprocessor.c | |
parent | 8036d0e3aff91263ca4b656fe9cfbe926cecb8e3 (diff) | |
download | libmicrohttpd-6dd2096b4bf725faa41027b2370cdf4765504716.tar.gz libmicrohttpd-6dd2096b4bf725faa41027b2370cdf4765504716.zip |
Fixed f032145edcb39e0445e4f78fec51867b9f89706c
Ensure that parsing fail because of the wrong format, not
because of the callback.
Diffstat (limited to 'src/microhttpd/test_postprocessor.c')
-rw-r--r-- | src/microhttpd/test_postprocessor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/microhttpd/test_postprocessor.c b/src/microhttpd/test_postprocessor.c index cc5812c5..36e5638c 100644 --- a/src/microhttpd/test_postprocessor.c +++ b/src/microhttpd/test_postprocessor.c | |||
@@ -680,7 +680,7 @@ test_empty_key (void) | |||
680 | MHD_STATICSTR_LEN_ (MHD_HTTP_POST_ENCODING_FORM_URLENCODED); | 680 | MHD_STATICSTR_LEN_ (MHD_HTTP_POST_ENCODING_FORM_URLENCODED); |
681 | header.kind = MHD_HEADER_KIND; | 681 | header.kind = MHD_HEADER_KIND; |
682 | pp = MHD_create_post_processor (&connection, | 682 | pp = MHD_create_post_processor (&connection, |
683 | 1024, &value_checker, NULL); | 683 | 1024, &value_checker2, NULL); |
684 | if (NULL == pp) | 684 | if (NULL == pp) |
685 | { | 685 | { |
686 | fprintf (stderr, "Failed to create post processor.\n" | 686 | fprintf (stderr, "Failed to create post processor.\n" |