mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-12 19:12:28 -04:00
Bugfixes for correct Channels display.
* Corrected search in ftserver. * Updated avail in controller FileDetails. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@858 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
0c4947f4e6
commit
9f727e2d94
2 changed files with 7 additions and 3 deletions
|
@ -926,10 +926,12 @@ bool ftController::FileDetails(std::string hash, FileInfo &info)
|
|||
if (completed)
|
||||
{
|
||||
info.transfered = info.size;
|
||||
info.avail = info.transfered;
|
||||
}
|
||||
else
|
||||
{
|
||||
info.transfered = (it->second).mCreator->getRecvd();
|
||||
info.avail = info.transfered;
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue