Author: navaraf Date: Sun Jan 20 14:18:22 2008 New Revision: 31900
URL: http://svn.reactos.org/svn/reactos?rev=31900&view=rev Log: Correct the parameter check in CreateIoCompletionPort.
Modified: trunk/reactos/dll/win32/kernel32/file/iocompl.c
Modified: trunk/reactos/dll/win32/kernel32/file/iocompl.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/file/ioc... ============================================================================== --- trunk/reactos/dll/win32/kernel32/file/iocompl.c (original) +++ trunk/reactos/dll/win32/kernel32/file/iocompl.c Sun Jan 20 14:18:22 2008 @@ -32,7 +32,7 @@ FILE_COMPLETION_INFORMATION CompletionInformation; IO_STATUS_BLOCK IoStatusBlock;
- if ( ExistingCompletionPort == NULL && FileHandle == INVALID_HANDLE_VALUE ) + if ( FileHandle == INVALID_HANDLE_VALUE && ExistingCompletionPort != NULL ) { SetLastError(ERROR_INVALID_PARAMETER); return FALSE;