Browse Source

Code formatting

Source commit: 398e14a5ece1e453dc9a3182ab14b9265f0a965a
Martin Prikryl 1 year ago
parent
commit
c824c40024
1 changed files with 8 additions and 8 deletions
  1. 8 8
      source/core/SftpFileSystem.cpp

+ 8 - 8
source/core/SftpFileSystem.cpp

@@ -1561,20 +1561,20 @@ protected:
     if (Result)
     {
       bool Last;
-        if (FOnTransferIn != NULL)
-        {
-          size_t Read = BlockBuf.LoadFromIn(FOnTransferIn, FTerminal, BlockSize);
-          Last = (Read < BlockSize);
-        }
-        else
+      if (FOnTransferIn != NULL)
+      {
+        size_t Read = BlockBuf.LoadFromIn(FOnTransferIn, FTerminal, BlockSize);
+        Last = (Read < BlockSize);
+      }
+      else
       {
         FILE_OPERATION_LOOP_BEGIN
         {
           BlockBuf.LoadStream(FStream, BlockSize, false);
         }
         FILE_OPERATION_LOOP_END(FMTLOAD(READ_ERROR, (FFileName)));
-          Last = (FStream->Position >= FStream->Size);
-        }
+        Last = (FStream->Position >= FStream->Size);
+      }
 
       FEnd = (BlockBuf.Size == 0);
       Result = !FEnd;