diff options
Diffstat (limited to 'src/microhttpd/test_postprocessor_large.c')
-rw-r--r-- | src/microhttpd/test_postprocessor_large.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/microhttpd/test_postprocessor_large.c b/src/microhttpd/test_postprocessor_large.c index 3421f734..68e5f671 100644 --- a/src/microhttpd/test_postprocessor_large.c +++ b/src/microhttpd/test_postprocessor_large.c | |||
@@ -43,8 +43,8 @@ value_checker (void *cls, | |||
43 | const char *data, uint64_t off, size_t size) | 43 | const char *data, uint64_t off, size_t size) |
44 | { | 44 | { |
45 | unsigned int *pos = cls; | 45 | unsigned int *pos = cls; |
46 | (void)kind; (void)key; (void)filename; (void)content_type; /* Unused. Silent compiler warning. */ | 46 | (void) kind; (void) key; (void) filename; (void) content_type; /* Unused. Silent compiler warning. */ |
47 | (void)transfer_encoding; (void)data; (void)off; /* Unused. Silent compiler warning. */ | 47 | (void) transfer_encoding; (void) data; (void) off; /* Unused. Silent compiler warning. */ |
48 | #if 0 | 48 | #if 0 |
49 | fprintf (stderr, | 49 | fprintf (stderr, |
50 | "VC: %llu %u `%s' `%s' `%s' `%s' `%.*s'\n", | 50 | "VC: %llu %u `%s' `%s' `%s' `%s' `%.*s'\n", |
@@ -87,11 +87,11 @@ test_simple_large () | |||
87 | i = 0; | 87 | i = 0; |
88 | size = strlen (data); | 88 | size = strlen (data); |
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 | MHD_post_process (pp, &data[i], delta); |
93 | i += delta; | 93 | i += delta; |
94 | } | 94 | } |
95 | MHD_destroy_post_processor (pp); | 95 | MHD_destroy_post_processor (pp); |
96 | if (pos != sizeof (data) - 5) /* minus 0-termination and 'key=' */ | 96 | if (pos != sizeof (data) - 5) /* minus 0-termination and 'key=' */ |
97 | return 1; | 97 | return 1; |
@@ -102,7 +102,7 @@ int | |||
102 | main (int argc, char *const *argv) | 102 | main (int argc, char *const *argv) |
103 | { | 103 | { |
104 | unsigned int errorCount = 0; | 104 | unsigned int errorCount = 0; |
105 | (void)argc; (void)argv; /* Unused. Silent compiler warning. */ | 105 | (void) argc; (void) argv; /* Unused. Silent compiler warning. */ |
106 | 106 | ||
107 | errorCount += test_simple_large (); | 107 | errorCount += test_simple_large (); |
108 | if (errorCount != 0) | 108 | if (errorCount != 0) |