Update socketio.c (#252)
Merged fix from https://github.com/PowerShell/openssh-portable/pull/252
This commit is contained in:
parent
5e0833f69d
commit
97b74e8a10
|
@ -704,6 +704,7 @@ socketio_accept(struct w32_io* pio, struct sockaddr* addr, int* addrlen)
|
|||
if (pio->read_details.error) {
|
||||
errno = errno_from_WSAError(pio->read_details.error);
|
||||
debug3("accept - ERROR: async io completed with error: %d, io:%p", pio->read_details.error, pio);
|
||||
pio->read_details.error = 0;
|
||||
goto on_error;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue