git-svn-id: svn://db.shs.com.ru/pip@12 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
2015-03-10 10:59:29 +00:00
parent 1229ef9ccb
commit 1563d4827d
5 changed files with 89 additions and 5 deletions

View File

@@ -236,11 +236,15 @@ void PIFileTransfer::receive_finished(bool ok) {
receiveFilesFinished(false);
}
}
if (pftheader.step == pft_Data) receiveFilesFinished(ok);
if (pftheader.step == pft_Data) {
work_file.close();
receiveFilesFinished(ok);
}
}
void PIFileTransfer::send_finished(bool ok) {
work_file.close();
sendFilesFinished(ok);
}