mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
fixed bug causing some transfers to never finish
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5063 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
6fa38e7d18
commit
08a52dc369
@ -244,7 +244,12 @@ void ChunkMap::setChunkCheckingResult(uint32_t chunk_number,bool check_succeeded
|
||||
_file_is_complete = true ;
|
||||
|
||||
for(uint32_t i=0;i<_map.size();++i)
|
||||
#ifdef USE_NEW_CHUNK_CHECKING_CODE
|
||||
if(_map[i] != FileChunksInfo::CHUNK_DONE)
|
||||
#else
|
||||
if(_map[i] != FileChunksInfo::CHUNK_DONE && _map[i] != FileChunksInfo::CHUNK_CHECKING)
|
||||
#endif
|
||||
|
||||
{
|
||||
_file_is_complete = false ;
|
||||
break ;
|
||||
|
Loading…
Reference in New Issue
Block a user