gnunet-svn
[Top][All Lists]
Advanced

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

[gnurl] 49/222: http_proxy: part of conditional expression is always tru


From: gnunet
Subject: [gnurl] 49/222: http_proxy: part of conditional expression is always true: !error
Date: Thu, 07 Nov 2019 00:09:05 +0100

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

ng0 pushed a commit to branch master
in repository gnurl.

commit cc95dbd64f35bc11c55c475d32012c5491e2f01b
Author: Daniel Stenberg <address@hidden>
AuthorDate: Thu Sep 19 09:54:12 2019 +0200

    http_proxy: part of conditional expression is always true: !error
    
    Fixes warning detected by PVS-Studio
    Fixes #4374
---
 lib/http_proxy.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/http_proxy.c b/lib/http_proxy.c
index ba67b861b..710101774 100644
--- a/lib/http_proxy.c
+++ b/lib/http_proxy.c
@@ -327,7 +327,7 @@ static CURLcode CONNECT(struct connectdata *conn,
     { /* READING RESPONSE PHASE */
       int error = SELECT_OK;
 
-      while(s->keepon && !error) {
+      while(s->keepon) {
         ssize_t gotbytes;
 
         /* make sure we have space to read more 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]