From 66007803dae38961648aaa5c3cc745213b8e9545 Mon Sep 17 00:00:00 2001 From: Daniel Plasa Date: Fri, 29 May 2020 23:13:34 +0200 Subject: use esp8266::polledTimeout::oneShotMs fot the timeout handling --- FTPClient.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'FTPClient.h') 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 -- cgit v1.2.3