mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +00:00
Fix typo spotted by Usurp
svn path=/trunk/; revision=31277
This commit is contained in:
parent
8484152675
commit
16168cb5ea
1 changed files with 7 additions and 7 deletions
|
@ -757,18 +757,18 @@ WSPSelect(
|
||||||
HeapFree( GlobalHeap, 0, PollBuffer );
|
HeapFree( GlobalHeap, 0, PollBuffer );
|
||||||
NtClose( SockEvent );
|
NtClose( SockEvent );
|
||||||
|
|
||||||
AFD_DbgPrint(MID_TRACE,("lpErrno = %x\n", lpErrno));
|
|
||||||
|
|
||||||
if( lpErrno ) {
|
if( lpErrno ) {
|
||||||
switch( IOSB.Status ) {
|
switch( IOSB.Status ) {
|
||||||
case STATUS_SUCCESS:
|
case STATUS_SUCCESS:
|
||||||
case STATUS_TIMEOUT: *lpErrno = 0; break;
|
case STATUS_TIMEOUT: *lpErrno = 0; break;
|
||||||
default: *lpErrno = WSAEINVAL; break;
|
default: *lpErrno = WSAEINVAL; break;
|
||||||
}
|
}
|
||||||
|
AFD_DbgPrint(MID_TRACE,("*lpErrno = %x\n", *lpErrno));
|
||||||
}
|
}
|
||||||
|
|
||||||
AFD_DbgPrint(MID_TRACE,("%d events\n", OutCount));
|
AFD_DbgPrint(MID_TRACE,("%d events\n", OutCount));
|
||||||
|
|
||||||
return OutCount;
|
return OutCount;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue