Browse Source

Tracing (skipping LIST for upload)

Source commit: 2b334d9568c6bdcf0ff4d12832a56747572a9a8b
Martin Prikryl 9 years ago
parent
commit
f64caa8352
1 changed files with 2 additions and 1 deletions
  1. 2 1
      source/core/FtpFileSystem.cpp

+ 2 - 1
source/core/FtpFileSystem.cpp

@@ -1885,12 +1885,13 @@ void __fastcall TFTPFileSystem::SourceRobust(const UnicodeString FileName,
 //---------------------------------------------------------------------------
 bool __fastcall TFTPFileSystem::CanTransferSkipList(int Params, unsigned int Flags)
 {
-  return
+  bool Result =
     FLAGSET(Params, cpNoConfirmation) &&
     // cpAppend is not supported with FTP
     DebugAlwaysTrue(FLAGCLEAR(Params, cpAppend)) &&
     FLAGCLEAR(Params, cpResume) &&
     FLAGCLEAR(Flags, tfAutoResume);
+  return Result;
 }
 //---------------------------------------------------------------------------
 void __fastcall TFTPFileSystem::Source(const UnicodeString FileName,