Index: src/ch/TSubTaskBase.cpp =================================================================== diff -u -N -r6e8aa26e2428e3bc71099255c5911f57bc722100 -ra3800c2f65fa66354e072b34c9e9970af49236b6 --- src/ch/TSubTaskBase.cpp (.../TSubTaskBase.cpp) (revision 6e8aa26e2428e3bc71099255c5911f57bc722100) +++ src/ch/TSubTaskBase.cpp (.../TSubTaskBase.cpp) (revision a3800c2f65fa66354e072b34c9e9970af49236b6) @@ -66,7 +66,6 @@ return iDriveNumber; } - chcore::TSmartPath TSubTaskBase::CalculateDestinationPath(const CFileInfoPtr& spFileInfo, chcore::TSmartPath pathDst, int iFlags) const { const TBasePathDataContainer& rSourcePathsInfo = GetContext().GetBasePathDataContainer(); @@ -75,7 +74,7 @@ THROW(_T("Invalid pointer"), 0, 0, 0); // iFlags: bit 0-ignore folders; bit 1-force creating directories - if (iFlags & 0x02) + if(iFlags & 0x02) { // force create directories chcore::TSmartPath pathCombined = pathDst + spFileInfo->GetFullFilePath().GetFileDir(); @@ -123,7 +122,7 @@ chcore::TSmartPath pathCheckPath(chcore::PathFromString((PCTSTR)fmt)); // when adding to strDstPath check if the path already exists - if so - try again - int iCounter=1; + int iCounter = 1; CString strFmt = GetTaskPropValue(rTaskDefinition.GetConfiguration()); while(TLocalFilesystem::PathExist(pathDstPath + pathCheckPath)) {