Remove commented out code

This commit is contained in:
Ai Lin Chia
2017-04-20 14:50:06 +02:00
parent fe0b0c3328
commit 65bfc3477c

@ -3492,8 +3492,6 @@ bool SpiderColl::addToDoledbIpTable(SpiderRequest *sreq) {
if ( g_conf.m_logDebugSpider )
log(LOG_DEBUG,"spider: added ip=%s to doleiptable "
"(score=1)",iptoa(sreq->m_firstIp));
// sanity check
//if ( ! m_doledbIpTable.m_isWritable ) { g_process.shutdownAbort(true);}
}
// . these priority slots in doledb are not empty
@ -3536,8 +3534,6 @@ void SpiderColl::removeFromDoledbIpTable(int32_t firstIp) {
// this can file if writes are disabled on this hashtablex
// because it is saving
m_doledbIpTable.removeKey ( &firstIp );
// sanity check
//if ( ! m_doledbIpTable.m_isWritable ) { g_process.shutdownAbort(true); }
}
// wtf!
if ( *score < 0 ) { g_process.shutdownAbort(true); }