aboutsummaryrefslogtreecommitdiff
path: root/src/testcurl/test_quiesce.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testcurl/test_quiesce.c')
-rw-r--r--src/testcurl/test_quiesce.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/testcurl/test_quiesce.c b/src/testcurl/test_quiesce.c
index dc131439..ddf794dc 100644
--- a/src/testcurl/test_quiesce.c
+++ b/src/testcurl/test_quiesce.c
@@ -384,8 +384,10 @@ testExternalGet ()
384 if (i == 0) { 384 if (i == 0) {
385 /* quiesce the daemon on the 1st iteration, so the 2nd should fail */ 385 /* quiesce the daemon on the 1st iteration, so the 2nd should fail */
386 fd = MHD_quiesce_daemon(d); 386 fd = MHD_quiesce_daemon(d);
387 close(fd); 387 if (-1 == fd)
388 c = setupCURL(&cbc); 388 abort ();
389 close (fd);
390 c = setupCURL (&cbc);
389 multi = curl_multi_init (); 391 multi = curl_multi_init ();
390 mret = curl_multi_add_handle (multi, c); 392 mret = curl_multi_add_handle (multi, c);
391 } 393 }