aboutsummaryrefslogtreecommitdiff
path: root/src/testzzuf/test_get.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testzzuf/test_get.c')
-rw-r--r--src/testzzuf/test_get.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/testzzuf/test_get.c b/src/testzzuf/test_get.c
index 7e116d09..223b85e5 100644
--- a/src/testzzuf/test_get.c
+++ b/src/testzzuf/test_get.c
@@ -306,8 +306,11 @@ main (int argc, char *const *argv)
306 (NULL != strstr (strrchr (argv[0], (int) '/'), "11")) : 0; 306 (NULL != strstr (strrchr (argv[0], (int) '/'), "11")) : 0;
307 if (0 != curl_global_init (CURL_GLOBAL_WIN32)) 307 if (0 != curl_global_init (CURL_GLOBAL_WIN32))
308 return 2; 308 return 2;
309 errorCount += testInternalGet (); 309 if (MHD_YES == MHD_is_feature_supported(MHD_FEATURE_THREADS))
310 errorCount += testMultithreadedGet (); 310 {
311 errorCount += testInternalGet ();
312 errorCount += testMultithreadedGet ();
313 }
311 errorCount += testExternalGet (); 314 errorCount += testExternalGet ();
312 if (errorCount != 0) 315 if (errorCount != 0)
313 fprintf (stderr, "Error (code: %u)\n", errorCount); 316 fprintf (stderr, "Error (code: %u)\n", errorCount);