gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnurl] 68/125: conncache: fix a return code [regression]


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 68/125: conncache: fix a return code [regression]
Date: Sun, 21 Jan 2018 23:42:03 +0100

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

ng0 pushed a commit to branch master
in repository gnurl.

commit 41982b6ac9f40b76a7ff967aff0eab6be753040a
Author: Daniel Stenberg <address@hidden>
AuthorDate: Tue Dec 12 23:53:56 2017 +0100

    conncache: fix a return code [regression]
    
    This broke in 07cb27c98e. Make sure to return 'result' properly. Pointed
    out by scan-build!
---
 lib/conncache.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/conncache.c b/lib/conncache.c
index 43d885131..b8f544485 100644
--- a/lib/conncache.c
+++ b/lib/conncache.c
@@ -307,7 +307,7 @@ CURLcode Curl_conncache_add_conn(struct conncache *connc,
   unlock:
   CONN_UNLOCK(data);
 
-  return CURLE_OK;
+  return result;
 }
 
 void Curl_conncache_remove_conn(struct connectdata *conn, bool lock)

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



reply via email to

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