diff options
author | Tor Arntsen <tor@spacetec.no> | 2013-02-05 17:26:07 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2013-02-05 17:58:28 +0100 |
commit | 278ab75e9ffc1dc8cc9b723ad97c165b9953900b (patch) | |
tree | 1af18bd918e5210b4bd34c107166f23a1013d36b | |
parent | 0d1b754376d7c6a266d32fcc10dc7968f0569129 (diff) |
singleipconnect: Update *sockp for all CURLE_OK
The 56b7c87c7 change left a case where a good sockfd was not copied to
*sockp before returning with CURLE_OK
-rw-r--r-- | lib/connect.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/connect.c b/lib/connect.c index 0d24697d2..0afb1ee61 100644 --- a/lib/connect.c +++ b/lib/connect.c @@ -970,6 +970,8 @@ singleipconnect(struct connectdata *conn, break; } } + else + *sockp = sockfd; return CURLE_OK; } |