fixed stupid bug causing streaming mode to get stalled

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6176 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2013-03-01 23:16:09 +00:00
parent 9b01e3658d
commit 1fb605cfa9

View File

@ -560,7 +560,7 @@ uint32_t ChunkMap::getAvailableChunk(const std::string& peer_id,bool& map_is_too
switch(_strategy)
{
case FileChunksInfo::CHUNK_STRATEGY_STREAMING: chunk_jump = 1 ;
case FileChunksInfo::CHUNK_STRATEGY_STREAMING: chunk_jump = 2 ;
chosen_chunk_number = 0 ;
break ;
case FileChunksInfo::CHUNK_STRATEGY_RANDOM: chunk_jump = _map.size() ;