aboutsummaryrefslogtreecommitdiff
path: root/src/testzzuf/test_put.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testzzuf/test_put.c')
-rw-r--r--src/testzzuf/test_put.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/testzzuf/test_put.c b/src/testzzuf/test_put.c
index cfe12dee..63518ba8 100644
--- a/src/testzzuf/test_put.c
+++ b/src/testzzuf/test_put.c
@@ -353,8 +353,11 @@ main (int argc, char *const *argv)
353 (NULL != strstr (strrchr (argv[0], (int) '/'), "11")) : 0; 353 (NULL != strstr (strrchr (argv[0], (int) '/'), "11")) : 0;
354 if (0 != curl_global_init (CURL_GLOBAL_WIN32)) 354 if (0 != curl_global_init (CURL_GLOBAL_WIN32))
355 return 2; 355 return 2;
356 errorCount += testInternalPut (); 356 if (MHD_YES == MHD_is_feature_supported(MHD_FEATURE_THREADS))
357 errorCount += testMultithreadedPut (); 357 {
358 errorCount += testInternalPut ();
359 errorCount += testMultithreadedPut ();
360 }
358 errorCount += testExternalPut (); 361 errorCount += testExternalPut ();
359 if (errorCount != 0) 362 if (errorCount != 0)
360 fprintf (stderr, "Error (code: %u)\n", errorCount); 363 fprintf (stderr, "Error (code: %u)\n", errorCount);