more new site list api fixes

This commit is contained in:
Matt Wells 2014-03-09 18:15:57 -07:00
parent 11e8c16878
commit f8e561e6f4
2 changed files with 6 additions and 2 deletions

View File

@ -127,11 +127,15 @@ bool updateSiteList ( collnum_t collnum , bool addSeeds ) {
return true;
// clear old shit
sc->m_posSubstringBuf.purge();
sc->m_negSubstringBuf.purge();
// we can now free the old site list methinks
//cr->m_siteListBuf.purge();
// reset flags
sc->m_siteListAsteriskLine = NULL;
//sc->m_siteListAsteriskLine = NULL;
sc->m_siteListHasNegatives = false;
sc->m_siteListIsEmpty = true;

View File

@ -1103,7 +1103,7 @@ class SpiderColl {
bool m_didRead;
// corresponding to CollectionRec::m_siteListBuf
char *m_siteListAsteriskLine;
//char *m_siteListAsteriskLine;
bool m_siteListHasNegatives;
bool m_siteListIsEmpty;
// data buckets in this table are of type