]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
multi: value '2L' is assigned to a boolean
authorDaniel Stenberg <daniel@haxx.se>
Thu, 19 Sep 2019 07:47:37 +0000 (09:47 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 20 Sep 2019 06:07:21 +0000 (08:07 +0200)
Fixes warning detected by PVS-Studio
Fixes #4374

lib/multi.c

index 2e91e4ff35a5bb619931e2ed6fbf31da11fc4fef..22e0dcfd1a371b1b3f6e3b8532dd33e0460ea334 100755 (executable)
@@ -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;