mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
suppressed uninitialized memory read
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2277 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
76dd404c0d
commit
b0f7275ac0
@ -1559,6 +1559,8 @@ std::list<RsItem *> ftController::saveList(bool &cleanup)
|
|||||||
rft->file.filesize = fit->second.mSize;
|
rft->file.filesize = fit->second.mSize;
|
||||||
rft->file.path = RsDirUtil::removeTopDir(fit->second.mDestination); /* remove fname */
|
rft->file.path = RsDirUtil::removeTopDir(fit->second.mDestination); /* remove fname */
|
||||||
rft->flags = fit->second.mFlags;
|
rft->flags = fit->second.mFlags;
|
||||||
|
rft->state = fit->second.mState;
|
||||||
|
rft->transferred = fit->second.mCreator->getRecvd();
|
||||||
|
|
||||||
fit->second.mTransfer->getFileSources(rft->allPeerIds.ids);
|
fit->second.mTransfer->getFileSources(rft->allPeerIds.ids);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user