mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-25 09:11:28 -05:00
removed unused code
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6405 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
451dc2da5e
commit
ef2ebcc1d6
@ -27,8 +27,6 @@
|
||||
* #define FT_DEBUG 1
|
||||
*****/
|
||||
|
||||
#define USE_NEW_CHUNK_CHECKING_CODE
|
||||
|
||||
#include "retroshare/rsturtle.h"
|
||||
#include "fttransfermodule.h"
|
||||
|
||||
@ -630,17 +628,9 @@ void ftTransferModule::forceCheck()
|
||||
std::cerr << "ftTransferModule::forceCheck(): setting flags to force check." << std::endl ;
|
||||
#endif
|
||||
|
||||
#ifndef USE_NEW_CHUNK_CHECKING_CODE
|
||||
mFlag = FT_TM_FLAG_CHUNK_CRC ; // Ask for CRC map.
|
||||
|
||||
// setup flags for CRC state machine to work properly
|
||||
_crcmap_state = FT_TM_CRC_MAP_STATE_DONT_HAVE ;
|
||||
_crcmap_last_asked_time = 0 ;
|
||||
#else
|
||||
mFileCreator->forceCheck() ;
|
||||
mFlag = FT_TM_FLAG_DOWNLOADING ; // Ask for CRC map.
|
||||
mFileStatus.stat = ftFileStatus::PQIFILE_DOWNLOADING;
|
||||
#endif
|
||||
}
|
||||
|
||||
bool ftTransferModule::checkCRC()
|
||||
|
Loading…
x
Reference in New Issue
Block a user