1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

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
This commit is contained in:
Tor Arntsen 2013-02-05 17:26:07 +01:00 committed by Daniel Stenberg
parent 0d1b754376
commit 278ab75e9f

View File

@ -970,6 +970,8 @@ singleipconnect(struct connectdata *conn,
break;
}
}
else
*sockp = sockfd;
return CURLE_OK;
}