mirror of
https://github.com/reactos/reactos.git
synced 2025-05-06 10:28:45 +00:00
[NCFTP] Check _DEBUG with #ifdef, not #if (#1616)
This commit is contained in:
parent
addfb61d8b
commit
96a4ab87d4
1 changed files with 6 additions and 0 deletions
|
@ -1157,9 +1157,15 @@ Traverse(FTPCIPtr cip, char *fullpath, struct Stat *st, char *relpath, FileInfoL
|
|||
}
|
||||
|
||||
next:
|
||||
#ifndef __REACTOS__
|
||||
#if _DEBUG
|
||||
memset(&ffd, 0, sizeof(ffd));
|
||||
#endif
|
||||
#else // __REACTOS__
|
||||
#ifdef _DEBUG
|
||||
memset(&ffd, 0, sizeof(ffd));
|
||||
#endif
|
||||
#endif // __REACTOS__
|
||||
if (!FindNextFile(searchHandle, &ffd)) {
|
||||
dwErr = GetLastError();
|
||||
if (dwErr != ERROR_NO_MORE_FILES) {
|
||||
|
|
Loading…
Reference in a new issue