diff options
author | Daniel Stenberg <daniel@haxx.se> | 2022-12-29 17:43:36 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2022-12-30 00:16:53 +0100 |
commit | 1c0079603993f6d05a92527a69ed874eb696dc88 (patch) | |
tree | 60ba056f2b57d8e7270aef3844d991bd525662f7 /lib/multi.c | |
parent | b0119436b02147b535da4972b3417db75d4d2a98 (diff) | |
download | curl-1c0079603993f6d05a92527a69ed874eb696dc88.tar.gz |
multihandle: turn bool struct fields into bits
Closes #10179
Diffstat (limited to 'lib/multi.c')
-rw-r--r-- | lib/multi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/multi.c b/lib/multi.c index b96ee7c7e..f08add3b0 100644 --- a/lib/multi.c +++ b/lib/multi.c @@ -3248,7 +3248,7 @@ CURLMcode curl_multi_setopt(struct Curl_multi *multi, multi->push_userp = va_arg(param, void *); break; case CURLMOPT_PIPELINING: - multi->multiplexing = va_arg(param, long) & CURLPIPE_MULTIPLEX; + multi->multiplexing = va_arg(param, long) & CURLPIPE_MULTIPLEX ? 1 : 0; break; case CURLMOPT_TIMERFUNCTION: multi->timer_cb = va_arg(param, curl_multi_timer_callback); |