Browse Source

Typo in field name

(cherry picked from commit 9b977311a5d685537abe2591bda922c6f67b1701)

Source commit: 64a7bab48c4eb9cd52e17451c061e07af057c656
Martin Prikryl 4 years ago
parent
commit
2be1e36e33
2 changed files with 5 additions and 5 deletions
  1. 4 4
      source/core/FtpFileSystem.cpp
  2. 1 1
      source/core/FtpFileSystem.h

+ 4 - 4
source/core/FtpFileSystem.cpp

@@ -269,7 +269,7 @@ __fastcall TFTPFileSystem::TFTPFileSystem(TTerminal * ATerminal):
   FCertificate = NULL;
   FPrivateKey = NULL;
   FBytesAvailable = -1;
-  FBytesAvailableSuppoted = false;
+  FBytesAvailableSupported = false;
   FLoggedIn = false;
   FAnyTransferSucceeded = false; // Do not reset on reconnect
   FForceReadSymlink = false;
@@ -1906,7 +1906,7 @@ bool __fastcall TFTPFileSystem::IsCapable(int Capability) const
       return FSupportsAnyChecksumFeature;
 
     case fcCheckingSpaceAvailable:
-      return FBytesAvailableSuppoted || SupportsCommand(AvblCommand) || SupportsCommand(XQuotaCommand);
+      return FBytesAvailableSupported || SupportsCommand(AvblCommand) || SupportsCommand(XQuotaCommand);
 
     case fcModeChangingUpload:
     case fcLoadingAdditionalProperties:
@@ -2544,7 +2544,7 @@ TStrings * __fastcall TFTPFileSystem::GetFixedPaths()
 void __fastcall TFTPFileSystem::SpaceAvailable(const UnicodeString Path,
   TSpaceAvailable & ASpaceAvailable)
 {
-  if (FBytesAvailableSuppoted)
+  if (FBytesAvailableSupported)
   {
     std::unique_ptr<TRemoteFileList> DummyFileList(new TRemoteFileList());
     DummyFileList->Directory = Path;
@@ -3411,7 +3411,7 @@ void __fastcall TFTPFileSystem::HandleReplyStatus(UnicodeString Response)
     FBytesAvailable = StrToInt64Def(BytesStr, -1);
     if (FBytesAvailable >= 0)
     {
-      FBytesAvailableSuppoted = true;
+      FBytesAvailableSupported = true;
     }
   }
 

+ 1 - 1
source/core/FtpFileSystem.h

@@ -294,7 +294,7 @@ private:
   bool FTransferActiveImmediately;
   bool FWindowsServer;
   __int64 FBytesAvailable;
-  bool FBytesAvailableSuppoted;
+  bool FBytesAvailableSupported;
   bool FMVS;
   bool FVMS;
   bool FFileZilla;