Removed superfluous Collectiondb::getColl()

This commit is contained in:
Ivan Skytte Jørgensen
2017-01-12 16:01:00 +01:00
parent 94ad1a86ec
commit d7d92c14d5
2 changed files with 1 additions and 2 deletions

@ -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);