--- aMule-2.2.5/src/SharedFileList.cpp 2009-03-28 20:29:59.000000000 +0100 +++ aMule-2.2.5-bastard/src/SharedFileList.cpp 2009-05-30 11:44:47.000000000 +0200 @@ -470,17 +470,17 @@ bool CSharedFileList::AddFile(CKnownFile* pFile) { - wxASSERT(pFile->GetHashCount() == pFile->GetED2KPartHashCount()); - - wxMutexLocker lock(list_mut); - - CKnownFileMap::value_type entry(pFile->GetFileHash(), pFile); - if (m_Files_map.insert(entry).second) { - /* Keywords to publish on Kad */ - m_keywords->AddKeywords(pFile); - theStats::AddSharedFile(pFile->GetFileSize()); - return true; - } +// wxASSERT(pFile->GetHashCount() == pFile->GetED2KPartHashCount()); +// +// wxMutexLocker lock(list_mut); +// +// CKnownFileMap::value_type entry(pFile->GetFileHash(), pFile); +// if (m_Files_map.insert(entry).second) { +// /* Keywords to publish on Kad */ +// m_keywords->AddKeywords(pFile); +// theStats::AddSharedFile(pFile->GetFileSize()); +// return true; +// } return false; }