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:
csoler 2010-02-10 21:32:45 +00:00
parent 76dd404c0d
commit b0f7275ac0

View File

@ -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);