Commit 739984f9 authored by Max Kellermann's avatar Max Kellermann

main: renamed openDB() to glue_db_init_and_load()

No CamelCase.
parent 72617395
...@@ -96,7 +96,7 @@ struct notify main_notify; ...@@ -96,7 +96,7 @@ struct notify main_notify;
* process has been daemonized. * process has been daemonized.
*/ */
static bool static bool
openDB(const struct options *options) glue_db_init_and_load(const struct options *options)
{ {
const char *path = config_get_path(CONF_DB_FILE); const char *path = config_get_path(CONF_DB_FILE);
bool ret; bool ret;
...@@ -289,7 +289,7 @@ int main(int argc, char *argv[]) ...@@ -289,7 +289,7 @@ int main(int argc, char *argv[])
decoder_plugin_init_all(); decoder_plugin_init_all();
update_global_init(); update_global_init();
create_db = !openDB(&options); create_db = !glue_db_init_and_load(&options);
#ifdef ENABLE_SQLITE #ifdef ENABLE_SQLITE
success = sticker_global_init(config_get_path(CONF_STICKER_FILE), success = sticker_global_init(config_get_path(CONF_STICKER_FILE),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment