From b0f7275ac09c89ff8e41344b4b5380ebf6e370b8 Mon Sep 17 00:00:00 2001 From: csoler Date: Wed, 10 Feb 2010 21:32:45 +0000 Subject: [PATCH] suppressed uninitialized memory read git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2277 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- libretroshare/src/ft/ftcontroller.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libretroshare/src/ft/ftcontroller.cc b/libretroshare/src/ft/ftcontroller.cc index 97d7ef296..820ac4616 100644 --- a/libretroshare/src/ft/ftcontroller.cc +++ b/libretroshare/src/ft/ftcontroller.cc @@ -1559,6 +1559,8 @@ std::list ftController::saveList(bool &cleanup) rft->file.filesize = fit->second.mSize; rft->file.path = RsDirUtil::removeTopDir(fit->second.mDestination); /* remove fname */ rft->flags = fit->second.mFlags; + rft->state = fit->second.mState; + rft->transferred = fit->second.mCreator->getRecvd(); fit->second.mTransfer->getFileSources(rft->allPeerIds.ids);