summaryrefslogtreecommitdiffstats
path: root/FTPCommon.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'FTPCommon.cpp')
-rw-r--r--FTPCommon.cpp4
1 files changed, 2 insertions, 2 deletions
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();
}