Author: pschweitzer
Date: Wed Sep 21 19:26:57 2011
New Revision: 53792
URL:
http://svn.reactos.org/svn/reactos?rev=53792&view=rev
Log:
[EVENTLOG]
Fix broken if condition
Modified:
trunk/reactos/base/services/eventlog/file.c
Modified: trunk/reactos/base/services/eventlog/file.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/services/eventlog/fil…
==============================================================================
--- trunk/reactos/base/services/eventlog/file.c [iso-8859-1] (original)
+++ trunk/reactos/base/services/eventlog/file.c [iso-8859-1] Wed Sep 21 19:26:57 2011
@@ -261,7 +261,7 @@
But for now limit EventLog size to just under 5K. */
LogFile->Header.MaxSize = 5000;
- if (!SetFilePointer(LogFile->hFile, 0, NULL, FILE_BEGIN) ==
+ if (SetFilePointer(LogFile->hFile, 0, NULL, FILE_BEGIN) ==
INVALID_SET_FILE_POINTER)
{
DPRINT1("SetFilePointer() failed! %d\n", GetLastError());