gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnurl] 42/222: url: part of expression is always true: (bundle->multius


From: gnunet
Subject: [gnurl] 42/222: url: part of expression is always true: (bundle->multiuse == 0)
Date: Thu, 07 Nov 2019 00:08:58 +0100

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnurl.

commit 3ab45650e2de39f602421ca08250d75b5c6b210b
Author: Daniel Stenberg <address@hidden>
AuthorDate: Thu Sep 19 09:25:29 2019 +0200

    url: part of expression is always true: (bundle->multiuse == 0)
    
    Fixes warning detected by PVS-Studio
    Fixes #4374
---
 lib/url.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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);

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]