aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2013-11-12 09:59:22 +0000
committerSteve Holme <steve_holme@hotmail.com>2013-11-12 09:59:22 +0000
commit65ce9b6d6cfd332325c7ffb291598178eff53797 (patch)
tree00e9d1629f1bc1646d097b833d72112f2f8742b7
parent5f34a10445470183d51ea4a6395b52d3e5b6ceb9 (diff)
multi: Small code tidy up to avoid hard return
-rw-r--r--lib/multi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/multi.c b/lib/multi.c
index 2cb46ceec..923e2ced8 100644
--- a/lib/multi.c
+++ b/lib/multi.c
@@ -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;