diff options
Diffstat (limited to 'src/testzzuf/test_post.c')
-rw-r--r-- | src/testzzuf/test_post.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/testzzuf/test_post.c b/src/testzzuf/test_post.c index 9a4a8e9c..836f3395 100644 --- a/src/testzzuf/test_post.c +++ b/src/testzzuf/test_post.c | |||
@@ -389,8 +389,11 @@ main (int argc, char *const *argv) | |||
389 | (NULL != strstr (strrchr (argv[0], (int) '/'), "11")) : 0; | 389 | (NULL != strstr (strrchr (argv[0], (int) '/'), "11")) : 0; |
390 | if (0 != curl_global_init (CURL_GLOBAL_WIN32)) | 390 | if (0 != curl_global_init (CURL_GLOBAL_WIN32)) |
391 | return 2; | 391 | return 2; |
392 | errorCount += testInternalPost (); | 392 | if (MHD_YES == MHD_is_feature_supported(MHD_FEATURE_THREADS)) |
393 | errorCount += testMultithreadedPost (); | 393 | { |
394 | errorCount += testInternalPost (); | ||
395 | errorCount += testMultithreadedPost (); | ||
396 | } | ||
394 | errorCount += testExternalPost (); | 397 | errorCount += testExternalPost (); |
395 | if (errorCount != 0) | 398 | if (errorCount != 0) |
396 | fprintf (stderr, "Error (code: %u)\n", errorCount); | 399 | fprintf (stderr, "Error (code: %u)\n", errorCount); |