aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-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;