aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-09-19 09:25:29 +0200
committerDaniel Stenberg <daniel@haxx.se>2019-09-20 08:07:11 +0200
commit3ab45650e2de39f602421ca08250d75b5c6b210b (patch)
tree3c417076dc44b0685701b7c034a1bc380ea6d353
parente3c41ebd7c6f31f0a30362cfda735cdebb400ced (diff)
url: part of expression is always true: (bundle->multiuse == 0)
Fixes warning detected by PVS-Studio Fixes #4374
-rw-r--r--lib/url.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/url.c b/lib/url.c
index 391087d34..e4c1ac838 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -1048,7 +1048,7 @@ ConnectionExists(struct Curl_easy *data,
/* We can't multiplex if we don't know anything about the server */
if(canmultiplex) {
if(bundle->multiuse == BUNDLE_UNKNOWN) {
- if((bundle->multiuse == BUNDLE_UNKNOWN) && data->set.pipewait) {
+ if(data->set.pipewait) {
infof(data, "Server doesn't support multiplex yet, wait\n");
*waitpipe = TRUE;
Curl_conncache_unlock(data);