diff options
author | Daniel Plasa <dplasa@gmail.com> | 2020-05-29 23:13:34 +0200 |
---|---|---|
committer | Daniel Plasa <dplasa@gmail.com> | 2020-05-29 23:13:34 +0200 |
commit | 66007803dae38961648aaa5c3cc745213b8e9545 (patch) | |
tree | 33b3721a0480bbd65e89ba9dd1e1c35668547b72 /FTPClient.h | |
parent | explicit name error codes as constexpr (diff) | |
download | FTPCLientServer-66007803dae38961648aaa5c3cc745213b8e9545.tar FTPCLientServer-66007803dae38961648aaa5c3cc745213b8e9545.tar.gz FTPCLientServer-66007803dae38961648aaa5c3cc745213b8e9545.tar.bz2 FTPCLientServer-66007803dae38961648aaa5c3cc745213b8e9545.tar.lz FTPCLientServer-66007803dae38961648aaa5c3cc745213b8e9545.tar.xz FTPCLientServer-66007803dae38961648aaa5c3cc745213b8e9545.tar.zst FTPCLientServer-66007803dae38961648aaa5c3cc745213b8e9545.zip |
Diffstat (limited to 'FTPClient.h')
-rw-r--r-- | FTPClient.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FTPClient.h b/FTPClient.h index 1d3d6b4..9f3fd06 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 uint16_t respCode, const __FlashStringHelper *errorString = nullptr, uint16_t timeOut = 10000); + bool waitFor(const int16_t respCode, const __FlashStringHelper *errorString = nullptr, uint16_t timeOut = 10000); }; // basically just the same as FTPClient but has a different connect() method to account for SSL/TLS |