test result when parsing; drop if didn't parse

This commit is contained in:
Eric House 2010-11-16 20:30:43 -08:00
parent f33466b6db
commit b91187d6a5

View file

@ -742,9 +742,10 @@ handle_proxy_tproc( void* closure )
}
HostID hid;
char connName[MAX_CONNNAME_LEN+1];
parseRelayID( name, connName, &hid );
ids.push_back( DBMgr::Get()->
PendingMsgCount( connName, hid ) );
if ( parseRelayID( name, connName, &hid ) ) {
ids.push_back( DBMgr::Get()->
PendingMsgCount( connName, hid ) );
}
in = NULL;
}