Module: wine Branch: master Commit: d152d5ceebcfacca2cc679c9bfaaa4975cf5cd16 URL: http://source.winehq.org/git/wine.git/?a=commit;h=d152d5ceebcfacca2cc679c9bf... Author: Michael Stefaniuc <mstefani(a)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;