This commit is contained in:
Andrew Pamment 2017-09-21 10:42:39 +10:00
parent 934763a3c2
commit 2f5f00a102

View File

@ -201,6 +201,9 @@ int msgbase_is_subscribed(int conference, int msgbase) {
snprintf(buffer, PATH_MAX, "%s/users.sq3", conf.bbs_path); snprintf(buffer, PATH_MAX, "%s/users.sq3", conf.bbs_path);
rc = sqlite3_open(buffer, &db);
if (rc != SQLITE_OK) { if (rc != SQLITE_OK) {
dolog("Cannot open database: %s", sqlite3_errmsg(db)); dolog("Cannot open database: %s", sqlite3_errmsg(db));
sqlite3_close(db); sqlite3_close(db);