diff options
author | Daniel Plasa <dplasa@gmail.com> | 2020-07-06 00:57:20 +0200 |
---|---|---|
committer | Daniel Plasa <dplasa@gmail.com> | 2020-07-06 00:57:20 +0200 |
commit | cb3c7ea192c0bbbbe64c39bda6aec6da99e22380 (patch) | |
tree | f3d741a9e2b6c29884e0c076b8c789466f27f18e | |
parent | replace %S with %s, seems that printf can cope with that (diff) | |
download | FTPCLientServer-cb3c7ea192c0bbbbe64c39bda6aec6da99e22380.tar FTPCLientServer-cb3c7ea192c0bbbbe64c39bda6aec6da99e22380.tar.gz FTPCLientServer-cb3c7ea192c0bbbbe64c39bda6aec6da99e22380.tar.bz2 FTPCLientServer-cb3c7ea192c0bbbbe64c39bda6aec6da99e22380.tar.lz FTPCLientServer-cb3c7ea192c0bbbbe64c39bda6aec6da99e22380.tar.xz FTPCLientServer-cb3c7ea192c0bbbbe64c39bda6aec6da99e22380.tar.zst FTPCLientServer-cb3c7ea192c0bbbbe64c39bda6aec6da99e22380.zip |
-rw-r--r-- | FTPServer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FTPServer.cpp b/FTPServer.cpp index e707589..0e87fba 100644 --- a/FTPServer.cpp +++ b/FTPServer.cpp @@ -681,7 +681,7 @@ int8_t FTPServer::processCommand() if (!file) { file = THEFS.open(path, "w"); // open file, truncate it if already exists - f.close(); // this performs a sync on LittleFS so that the actual + file.close(); // this performs a sync on LittleFS so that the actual // space used by the file in FS gets released file = THEFS.open(path, "w"); // re-open file for writing } |