forked from Mirrors/privacore-open-source-search-engine
Removed superfluous Collectiondb::getColl()
This commit is contained in:
@ -38,7 +38,6 @@ class Collectiondb {
|
||||
collnum_t getCollnum ( const char *coll ); // coll is NULL terminated here
|
||||
|
||||
char *getCollName ( collnum_t collnum );
|
||||
char *getColl ( collnum_t collnum ) {return getCollName(collnum);}
|
||||
|
||||
// get coll rec specified in the HTTP request
|
||||
class CollectionRec *getRec ( class HttpRequest *r ,
|
||||
|
@ -133,7 +133,7 @@ bool SpiderColl::load ( ) {
|
||||
// error?
|
||||
int32_t err = 0;
|
||||
// make the dir
|
||||
char *coll = g_collectiondb.getColl(m_collnum);
|
||||
char *coll = g_collectiondb.getCollName(m_collnum);
|
||||
// sanity check
|
||||
if ( ! coll || coll[0]=='\0' ) {
|
||||
log("spider: bad collnum of %" PRId32,(int32_t)m_collnum);
|
||||
|
Reference in New Issue
Block a user