diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-09-19 09:25:29 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-09-20 08:07:11 +0200 |
commit | 3ab45650e2de39f602421ca08250d75b5c6b210b (patch) | |
tree | 3c417076dc44b0685701b7c034a1bc380ea6d353 | |
parent | e3c41ebd7c6f31f0a30362cfda735cdebb400ced (diff) |
url: part of expression is always true: (bundle->multiuse == 0)
Fixes warning detected by PVS-Studio
Fixes #4374
-rw-r--r-- | lib/url.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |