Michael Stefaniuc : wininet: Fix typo in comparison with NULL. Found by Smatch.
Alexandre Julliard
julliard at winehq.org
Mon Dec 31 12:32:18 CST 2007
Module: wine
Branch: master
Commit: d152d5ceebcfacca2cc679c9bfaaa4975cf5cd16
URL: http://source.winehq.org/git/wine.git/?a=commit;h=d152d5ceebcfacca2cc679c9bfaaa4975cf5cd16
Author: Michael Stefaniuc <mstefani at redhat.de>
Date: Sat Dec 29 01:04:58 2007 +0100
wininet: Fix typo in comparison with NULL. Found by Smatch.
---
dlls/wininet/ftp.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/wininet/ftp.c b/dlls/wininet/ftp.c
index ed3fbea..27d3b43 100644
--- a/dlls/wininet/ftp.c
+++ b/dlls/wininet/ftp.c
@@ -3462,7 +3462,7 @@ static BOOL FTP_ParseDirectory(LPWININETFTPSESSIONW lpwfs, INT nSocket, LPCWSTR
tmpafp = HeapReAlloc(GetProcessHeap(), 0, *lpafp,
sizeof(FILEPROPERTIESW)*indexFilePropArray);
- if (NULL == tmpafp)
+ if (NULL != tmpafp)
*lpafp = tmpafp;
}
*dwfp = indexFilePropArray;
More information about the wine-cvs
mailing list