diff options
author | Daniel Stenberg <daniel@haxx.se> | 2015-06-01 08:45:30 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2015-06-01 08:45:30 +0200 |
commit | 41db5aed7a7b5941e5a884f8a452648e19e2098f (patch) | |
tree | ec2a1eb761b7cd295f722f42f7d2207b96605fc4 /docs | |
parent | 4bb815a32ed1fa20dec415b3b018ff18c014c19c (diff) |
http2-download: check for CURLPIPE_MULTIPLEX properly
Bug: http://curl.haxx.se/mail/lib-2015-06/0001.html
Reported-by: Rafayel Mkrtchyan
Diffstat (limited to 'docs')
-rw-r--r-- | docs/examples/http2-download.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/examples/http2-download.c b/docs/examples/http2-download.c index a4099a8c1..3b7ca81d3 100644 --- a/docs/examples/http2-download.c +++ b/docs/examples/http2-download.c @@ -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 |