From 8ee92483ee0fde7283c90761bd281f029fa36d0d Mon Sep 17 00:00:00 2001 From: csoler Date: Wed, 15 Sep 2010 19:53:58 +0000 Subject: [PATCH] added missing return which would create ghost cache self-transfers git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3504 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 8a1d9e21b..b710b0d93 100644 --- a/libretroshare/src/ft/ftcontroller.cc +++ b/libretroshare/src/ft/ftcontroller.cc @@ -1844,6 +1844,8 @@ bool ftController::RequestCacheFile(RsPeerId id, std::string path, std::string h CompletedCache(hash); return true ; } + else + return false ; } FileRequest(hash, hash, size, path, RS_FILE_HINTS_CACHE | RS_FILE_HINTS_NO_SEARCH, ids);