Rob Shearman : kernel32: Fix a typo in the leadin check in WaitNamedPipeW.
Alexandre Julliard
julliard at winehq.org
Mon Aug 18 10:47:29 CDT 2008
Module: wine
Branch: master
Commit: e1e6caf81cd7edd15c7e68b1f885d429cabbbfb4
URL: http://source.winehq.org/git/wine.git/?a=commit;h=e1e6caf81cd7edd15c7e68b1f885d429cabbbfb4
Author: Rob Shearman <robertshearman at gmail.com>
Date: Sun Aug 17 18:34:09 2008 +0100
kernel32: Fix a typo in the leadin check in WaitNamedPipeW.
---
dlls/kernel32/sync.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/kernel32/sync.c b/dlls/kernel32/sync.c
index 5291904..bd6dd05 100644
--- a/dlls/kernel32/sync.c
+++ b/dlls/kernel32/sync.c
@@ -1342,7 +1342,7 @@ BOOL WINAPI WaitNamedPipeW (LPCWSTR name, DWORD nTimeOut)
if (nt_name.Length >= MAX_PATH * sizeof(WCHAR) ||
nt_name.Length < sizeof(leadin) ||
- strncmpiW( nt_name.Buffer, leadin, sizeof(leadin)/sizeof(WCHAR) != 0))
+ strncmpiW( nt_name.Buffer, leadin, sizeof(leadin)/sizeof(WCHAR)) != 0)
{
RtlFreeUnicodeString( &nt_name );
SetLastError( ERROR_PATH_NOT_FOUND );
More information about the wine-cvs
mailing list