import fixes

This commit is contained in:
mwells 2014-09-25 20:48:34 -07:00
parent d4182cf4ed
commit 29f928a71e
2 changed files with 2 additions and 0 deletions

@ -1570,6 +1570,7 @@ CollectionRec::CollectionRec() {
// inits for sortbydatetable
m_inProgress = false;
m_msg5 = NULL;
m_importState = NULL;
// JAB - track which regex parsers have been initialized
//log(LOG_DEBUG,"regex: %p initalizing empty parsers", m_pRegExParser);

@ -1468,6 +1468,7 @@ Multicast *ImportState::getAvailMulticast() { // Msg7 ( ) {
}
void saveImportStates ( ) {
if ( g_hostdb.m_myHost->m_hostId != 0 ) return;
for ( long i = 0 ; i < g_collectiondb.m_numRecs ; i++ ) {
CollectionRec *cr = g_collectiondb.m_recs[i];
if ( ! cr ) continue;