summaryrefslogtreecommitdiffstats
path: root/FTPClient.h
diff options
context:
space:
mode:
Diffstat (limited to 'FTPClient.h')
-rw-r--r--FTPClient.h2
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