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 2cb46ce..923e2ce 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;