From 85cd2902772ec0fd7738363d4c2ae0bd42b57475 Mon Sep 17 00:00:00 2001 From: Daniel Plasa Date: Mon, 6 Jul 2020 00:32:19 +0200 Subject: replace %S with %s, seems that printf can cope with that --- FTPCommon.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'FTPCommon.cpp') diff --git a/FTPCommon.cpp b/FTPCommon.cpp index 0651022..de5838e 100644 --- a/FTPCommon.cpp +++ b/FTPCommon.cpp @@ -143,7 +143,7 @@ bool FTPCommon::doNetworkToFile() void FTPCommon::closeTransfer() { - freeBuffer(); - file.close(); data.stop(); + file.close(); + freeBuffer(); } -- cgit v1.2.3