mirror of
https://github.com/RangeNetworks/openbts.git
synced 2025-11-02 21:03:16 +00:00
Removing a magic number
git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@3166 19bc5d8c-e614-43d4-8b26-e1612bc8e597
This commit is contained in:
@@ -160,21 +160,21 @@ int SubscriberRegistry::init()
|
||||
LOG(EMERG) << "Cannot open SubscriberRegistry database: " << sqlite3_errmsg(mDB);
|
||||
sqlite3_close(mDB);
|
||||
mDB = NULL;
|
||||
return 1;
|
||||
return FAILURE;
|
||||
}
|
||||
if (!sqlite3_command(mDB,createRRLPTable)) {
|
||||
LOG(EMERG) << "Cannot create RRLP table";
|
||||
return 1;
|
||||
return FAILURE;
|
||||
}
|
||||
if (!sqlite3_command(mDB,createDDTable)) {
|
||||
LOG(EMERG) << "Cannot create DIALDATA_TABLE table";
|
||||
return 1;
|
||||
return FAILURE;
|
||||
}
|
||||
if (!sqlite3_command(mDB,createSBTable)) {
|
||||
LOG(EMERG) << "Cannot create SIP_BUDDIES table";
|
||||
return 1;
|
||||
return FAILURE;
|
||||
}
|
||||
return 0;
|
||||
return SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user