mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 17:05:46 +00:00
- Handle STATUS_BUFFER_TOO_SMALL
- Handle STATUS_NO_MEMORY svn path=/branches/aicom-network-fixes/; revision=35320
This commit is contained in:
parent
e5e4035c8d
commit
e8c5f099c5
1 changed files with 2 additions and 0 deletions
|
@ -285,7 +285,9 @@ DWORD MsafdReturnWithErrno( NTSTATUS Status, LPINT Errno, DWORD Received,
|
|||
if( ReturnedBytes ) *ReturnedBytes = Received; break;
|
||||
case STATUS_END_OF_FILE: *Errno = WSAESHUTDOWN; break;
|
||||
case STATUS_PENDING: *Errno = WSA_IO_PENDING; break;
|
||||
case STATUS_BUFFER_TOO_SMALL: /* Fall through to STATUS_BUFFER_OVERFLOW */
|
||||
case STATUS_BUFFER_OVERFLOW: *Errno = WSAEMSGSIZE; break;
|
||||
case STATUS_NO_MEMORY: /* Fall through to STATUS_INSUFFICIENT_RESOURCES */
|
||||
case STATUS_INSUFFICIENT_RESOURCES: *Errno = WSA_NOT_ENOUGH_MEMORY; break;
|
||||
case STATUS_INVALID_CONNECTION: *Errno = WSAEAFNOSUPPORT; break;
|
||||
case STATUS_REMOTE_NOT_LISTENING: *Errno = WSAECONNRESET; break;
|
||||
|
|
Loading…
Reference in a new issue