git-svn-id: svn://db.shs.com.ru/pip@416 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5

This commit is contained in:
2017-04-19 17:11:09 +00:00
parent d8b8487dd7
commit fda6fcab79
4 changed files with 15 additions and 6 deletions

View File

@@ -541,8 +541,8 @@ bool PIBaseTransfer::finish_send(bool ok) {
if (!ok) sendBreak(header.session_id);
else sendReply(pt_ReplySuccess);
mutex_header.unlock();
sendFinished(ok);
piCoutObj << state_string << PIString::readableSize(bytes_all);
sendFinished(ok);
// diag.stop();
bytes_all = bytes_cur = 0;
return ok;
@@ -558,8 +558,8 @@ void PIBaseTransfer::finish_receive(bool ok, bool quet) {
sendBreak(header.session_id);
mutex_header.unlock();
}
receiveFinished(ok);
piCoutObj << state_string << PIString::readableSize(bytes_all);
receiveFinished(ok);
// diag.stop();
bytes_all = bytes_cur = 0;
}