aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/connect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/connect.c b/lib/connect.c
index 91aac8b88..e4d4fee4b 100644
--- a/lib/connect.c
+++ b/lib/connect.c
@@ -1027,8 +1027,8 @@ singleipconnect(struct connectdata *conn,
conn->bits.ipv6 = (addr.family == AF_INET6)?TRUE:FALSE;
#endif
- *sockp = sockfd;
-
+ *sockp = sockfd;
+
if(-1 == rc) {
switch (error) {
case EINPROGRESS: