summaryrefslogtreecommitdiff
path: root/lib/multi.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-09-19 09:47:37 +0200
committerDaniel Stenberg <daniel@haxx.se>2019-09-20 08:07:21 +0200
commit07c1af9226689a10721e457115f7ef5a52c352eb (patch)
tree86101919749ffa6a234b416bf86dab03afbdfc66 /lib/multi.c
parent2e68e5a023c0723521b1867814ce48e688cb9200 (diff)
downloadcurl-07c1af9226689a10721e457115f7ef5a52c352eb.tar.gz
multi: value '2L' is assigned to a boolean
Fixes warning detected by PVS-Studio Fixes #4374
Diffstat (limited to 'lib/multi.c')
-rwxr-xr-xlib/multi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/multi.c b/lib/multi.c
index 2e91e4ff3..22e0dcfd1 100755
--- a/lib/multi.c
+++ b/lib/multi.c
@@ -363,7 +363,7 @@ struct Curl_multi *Curl_multi_handle(int hashsize, /* socket hash */
Curl_llist_init(&multi->msglist, NULL);
Curl_llist_init(&multi->pending, NULL);
- multi->multiplexing = CURLPIPE_MULTIPLEX;
+ multi->multiplexing = TRUE;
/* -1 means it not set by user, use the default value */
multi->maxconnects = -1;