summaryrefslogtreecommitdiffstats
path: root/FTPServer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'FTPServer.cpp')
-rw-r--r--FTPServer.cpp2
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
}