mirror of
https://github.com/reactos/reactos.git
synced 2025-05-07 02:41:22 +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:
|
next:
|
||||||
|
#ifndef __REACTOS__
|
||||||
#if _DEBUG
|
#if _DEBUG
|
||||||
memset(&ffd, 0, sizeof(ffd));
|
memset(&ffd, 0, sizeof(ffd));
|
||||||
#endif
|
#endif
|
||||||
|
#else // __REACTOS__
|
||||||
|
#ifdef _DEBUG
|
||||||
|
memset(&ffd, 0, sizeof(ffd));
|
||||||
|
#endif
|
||||||
|
#endif // __REACTOS__
|
||||||
if (!FindNextFile(searchHandle, &ffd)) {
|
if (!FindNextFile(searchHandle, &ffd)) {
|
||||||
dwErr = GetLastError();
|
dwErr = GetLastError();
|
||||||
if (dwErr != ERROR_NO_MORE_FILES) {
|
if (dwErr != ERROR_NO_MORE_FILES) {
|
||||||
|
|
Loading…
Reference in a new issue