ws2_32: async_send with no buffers does not need to do any work.
This commit is contained in:
parent
34efca05c9
commit
f520dec3e1
|
@ -1797,6 +1797,12 @@ static NTSTATUS WS2_async_send(void* user, IO_STATUS_BLOCK* iosb, NTSTATUS statu
|
|||
switch (status)
|
||||
{
|
||||
case STATUS_ALERTED:
|
||||
if ( wsa->n_iovecs <= wsa->first_iovec )
|
||||
{
|
||||
/* Nothing to do */
|
||||
status = STATUS_SUCCESS;
|
||||
break;
|
||||
}
|
||||
if ((status = wine_server_handle_to_fd( wsa->hSocket, FILE_WRITE_DATA, &fd, NULL ) ))
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in New Issue