aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/test_postprocessor_large.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-06-07 18:01:13 +0200
committerChristian Grothoff <christian@grothoff.org>2022-06-07 18:01:13 +0200
commit4195c246bb47080eb7ce8c55d25c825da96a3a6e (patch)
tree739652dddb75496282b8ea78b4cb3931b85afaa7 /src/microhttpd/test_postprocessor_large.c
parentb627fdaf25d1db7ae8e35963b5cae882881fc016 (diff)
downloadlibmicrohttpd-4195c246bb47080eb7ce8c55d25c825da96a3a6e.tar.gz
libmicrohttpd-4195c246bb47080eb7ce8c55d25c825da96a3a6e.zip
-more minor fixes
Diffstat (limited to 'src/microhttpd/test_postprocessor_large.c')
-rw-r--r--src/microhttpd/test_postprocessor_large.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/microhttpd/test_postprocessor_large.c b/src/microhttpd/test_postprocessor_large.c
index 7fcc5d5a..0a821f09 100644
--- a/src/microhttpd/test_postprocessor_large.c
+++ b/src/microhttpd/test_postprocessor_large.c
@@ -89,7 +89,16 @@ test_simple_large ()
89 while (i < size) 89 while (i < size)
90 { 90 {
91 delta = 1 + MHD_random_ () % (size - i); 91 delta = 1 + MHD_random_ () % (size - i);
92 MHD_post_process (pp, &data[i], delta); 92 if (MHD_YES !=
93 MHD_post_process (pp,
94 &data[i],
95 delta))
96 {
97 fprintf (stderr,
98 "MHD_post_process() failed!\n");
99 MHD_destroy_post_processor (pp);
100 return 1;
101 }
93 i += delta; 102 i += delta;
94 } 103 }
95 MHD_destroy_post_processor (pp); 104 MHD_destroy_post_processor (pp);