瀏覽代碼

Misplaced assertion from f8018d0f981 (Parallel background uploads)

Source commit: fc879961a2f79e4aa513027ca3eea539c9fc0422
Martin Prikryl 9 年之前
父節點
當前提交
727926591f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      source/core/FtpFileSystem.cpp

+ 1 - 1
source/core/FtpFileSystem.cpp

@@ -2170,9 +2170,9 @@ void __fastcall TFTPFileSystem::DirectorySource(const UnicodeString DirectoryNam
   /* TODO : Show error message on failure. */
   if (!OperationProgress->Cancel)
   {
-    DebugAssert(FLAGCLEAR(Params, cpNoRecurse));
     if (FLAGSET(Params, cpDelete))
     {
+      DebugAssert(FLAGCLEAR(Params, cpNoRecurse));
       RemoveDir(ApiPath(DirectoryName));
     }
     else if (CopyParam->ClearArchive && FLAGSET(Attrs, faArchive))