Fix typo spotted by Usurp

svn path=/trunk/; revision=31277
This commit is contained in:
Hervé Poussineau 2007-12-16 14:44:01 +00:00
parent 8484152675
commit 16168cb5ea

View file

@ -757,18 +757,18 @@ WSPSelect(
HeapFree( GlobalHeap, 0, PollBuffer );
NtClose( SockEvent );
AFD_DbgPrint(MID_TRACE,("lpErrno = %x\n", lpErrno));
if( lpErrno ) {
switch( IOSB.Status ) {
case STATUS_SUCCESS:
case STATUS_TIMEOUT: *lpErrno = 0; break;
default: *lpErrno = WSAEINVAL; break;
}
switch( IOSB.Status ) {
case STATUS_SUCCESS:
case STATUS_TIMEOUT: *lpErrno = 0; break;
default: *lpErrno = WSAEINVAL; break;
}
AFD_DbgPrint(MID_TRACE,("*lpErrno = %x\n", *lpErrno));
}
AFD_DbgPrint(MID_TRACE,("%d events\n", OutCount));
return OutCount;
}