]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
multi: Small code tidy up to avoid hard return
authorSteve Holme <steve_holme@hotmail.com>
Tue, 12 Nov 2013 09:59:22 +0000 (09:59 +0000)
committerSteve Holme <steve_holme@hotmail.com>
Tue, 12 Nov 2013 09:59:22 +0000 (09:59 +0000)
lib/multi.c

index 2cb46ceeca6331c2b60107e4521ee01ec2a1e3af..923e2ced8825fb04bdb630763a57f81605abed22 100644 (file)
@@ -639,7 +639,7 @@ static int waitconnect_getsock(struct connectdata *conn,
      socket to become readable to be able to get the response headers */
   if(conn->tunnel_state[FIRSTSOCKET] == TUNNEL_CONNECT) {
     sock[0] = conn->sock[FIRSTSOCKET];
-    return GETSOCK_READSOCK(0);
+    rc = GETSOCK_READSOCK(0);
   }
 
   return rc;