mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 20:59:54 +00:00
info->u.smb_dir is a pointer, errors are signaled by NULL.
This commit is contained in:
parent
2fc867c045
commit
2a5c146067
@ -1926,7 +1926,7 @@ HANDLE WINAPI FindFirstFileExW(
|
||||
|
||||
info = (FIND_FIRST_INFO *)GlobalLock( handle );
|
||||
info->u.smb_dir = SMB_FindFirst(lpFileName);
|
||||
if(info->u.smb_dir < 0)
|
||||
if(!info->u.smb_dir)
|
||||
{
|
||||
GlobalUnlock( handle );
|
||||
GlobalFree(handle);
|
||||
|
Loading…
Reference in New Issue
Block a user