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:
Родитель
0d1b754376
Коммит
278ab75e9f
|
@ -970,6 +970,8 @@ singleipconnect(struct connectdata *conn,
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
*sockp = sockfd;
|
||||||
|
|
||||||
return CURLE_OK;
|
return CURLE_OK;
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче