gnunet-svn
[Top][All Lists]
Advanced

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

[gnurl] 91/411: connect.c: remove superfluous 'else' in Curl_getconnecti


From: gnunet
Subject: [gnurl] 91/411: connect.c: remove superfluous 'else' in Curl_getconnectinfo
Date: Wed, 13 Jan 2021 01:18:26 +0100

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

nikita pushed a commit to branch master
in repository gnurl.

commit d1d310531721c0e9c47ab25420a90f5c63913878
Author: ihsinme <61293369+ihsinme@users.noreply.github.com>
AuthorDate: Fri Sep 4 14:23:14 2020 +0300

    connect.c: remove superfluous 'else' in Curl_getconnectinfo
    
    Closes #5912
---
 lib/connect.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lib/connect.c b/lib/connect.c
index 8ceb8db62..79a08e29a 100644
--- a/lib/connect.c
+++ b/lib/connect.c
@@ -1419,8 +1419,7 @@ curl_socket_t Curl_getconnectinfo(struct Curl_easy *data,
     }
     return c->sock[FIRSTSOCKET];
   }
-  else
-    return CURL_SOCKET_BAD;
+  return CURL_SOCKET_BAD;
 }
 
 /*

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

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