corrected bug about missing da39... null file

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3489 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2010-09-14 21:24:51 +00:00
parent dbb21e0b16
commit 4ea6b0b31f

View File

@ -1811,7 +1811,7 @@ bool ftController::RequestCacheFile(RsPeerId id, std::string path, std::string h
std::cerr << "Copying it !!" << std::endl ;
#endif
if(copyFile(info.path,path+"/"+hash))
if(info.size > 0 && copyFile(info.path,path+"/"+hash))
{
CompletedCache(hash);
return true ;