http2-download: check for CURLPIPE_MULTIPLEX properly

Bug: http://curl.haxx.se/mail/lib-2015-06/0001.html
Reported-by: Rafayel Mkrtchyan
This commit is contained in:
Daniel Stenberg 2015-06-01 08:45:30 +02:00
parent 4bb815a32e
commit 41db5aed7a
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ static void setup(CURL *hnd, int num)
curl_easy_setopt(hnd, CURLOPT_SSL_VERIFYPEER, 0L);
curl_easy_setopt(hnd, CURLOPT_SSL_VERIFYHOST, 0L);
#ifdef CURLPIPE_MULTIPLEX
#if (CURLPIPE_MULTIPLEX > 0)
/* wait for pipe connection to confirm */
curl_easy_setopt(hnd, CURLOPT_PIPEWAIT, 1L);
#endif