add:多文件下载。
This commit is contained in:
parent
8889bd061d
commit
218404a91d
@ -146,6 +146,10 @@ bool CClient::down_one_file(const std::string& id, const std::string& file)
|
||||
return false;
|
||||
}
|
||||
down_->trans_state_ = TRANS_REDAY;
|
||||
while (down_->trans_state_ != TRANS_DONE) {
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(10));
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user