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

This commit is contained in:
2017-04-19 15:26:30 +00:00
parent 4106e52cd7
commit 0c6200e299
2 changed files with 7 additions and 4 deletions

View File

@@ -255,7 +255,9 @@ bool PIBaseTransfer::send_process() {
mutex_header.lock();
sendReply(pt_Pause);
mutex_header.unlock();
if (pause_tm.elapsed_s() > timeout())return finish_send(false);
if (pause_tm.elapsed_s() > timeout()) {
return finish_send(false);
}
}
mutex_send.lock();
if (send_tm.elapsed_s() > timeout_) {