diff options
author | Daniel Plasa <dplasa@gmail.com> | 2020-05-30 01:21:14 +0200 |
---|---|---|
committer | Daniel Plasa <dplasa@gmail.com> | 2020-05-30 01:21:14 +0200 |
commit | a70d4cb87a48158ed9f9b5fe5cee6a6109674f41 (patch) | |
tree | abdae2a045409c0078fc40ecb3d25a0357133b24 | |
parent | LIST output format change to match FuseFS (diff) | |
download | FTPCLientServer-a70d4cb87a48158ed9f9b5fe5cee6a6109674f41.tar FTPCLientServer-a70d4cb87a48158ed9f9b5fe5cee6a6109674f41.tar.gz FTPCLientServer-a70d4cb87a48158ed9f9b5fe5cee6a6109674f41.tar.bz2 FTPCLientServer-a70d4cb87a48158ed9f9b5fe5cee6a6109674f41.tar.lz FTPCLientServer-a70d4cb87a48158ed9f9b5fe5cee6a6109674f41.tar.xz FTPCLientServer-a70d4cb87a48158ed9f9b5fe5cee6a6109674f41.tar.zst FTPCLientServer-a70d4cb87a48158ed9f9b5fe5cee6a6109674f41.zip |
-rw-r--r-- | FTPClient.cpp | 2 | ||||
-rw-r--r-- | FTPClient.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/FTPClient.cpp b/FTPClient.cpp index aa31ec7..58df9fb 100644 --- a/FTPClient.cpp +++ b/FTPClient.cpp @@ -217,7 +217,7 @@ int8_t FTPClient::controlConnect() return -1; } -bool FTPClient::waitFor(const int16_t respCode, const __FlashStringHelper *errorString, uint16_t timeOutMs) +bool FTPClient::waitFor(const int16_t respCode, const __FlashStringHelper *errorString, uint32_t timeOutMs) { // initalize waiting if (!aTimeout.canExpire()) diff --git a/FTPClient.h b/FTPClient.h index 9f3fd06..bc03c67 100644 --- a/FTPClient.h +++ b/FTPClient.h @@ -108,7 +108,7 @@ protected: int8_t controlConnect(); // connects to ServerInfo, returns -1: no connection possible, +1: connection established - bool waitFor(const int16_t respCode, const __FlashStringHelper *errorString = nullptr, uint16_t timeOut = 10000); + bool waitFor(const int16_t respCode, const __FlashStringHelper *errorString = nullptr, uint32_t timeOut = 10000); }; // basically just the same as FTPClient but has a different connect() method to account for SSL/TLS |