aboutsummaryrefslogtreecommitdiffstats
path: root/src/init.c
diff options
context:
space:
mode:
authorAnastasis Grammenos <anastasis.gramm2@gmail.com>2019-03-14 20:15:52 +0200
committerAnastasis Grammenos <anastasis.gramm2@gmail.com>2019-03-14 20:15:52 +0200
commitf30142e0cbe7ff6dc4339682f66da72cb5fd9428 (patch)
tree8978a0393cf8fa053b69da1f806d13b27e5199a5 /src/init.c
parent387b31f293347a8bc05dbd4c5f2d063a7b8bdba9 (diff)
downloadck-f30142e0cbe7ff6dc4339682f66da72cb5fd9428.tar.gz
ck-f30142e0cbe7ff6dc4339682f66da72cb5fd9428.tar.bz2
ck-f30142e0cbe7ff6dc4339682f66da72cb5fd9428.zip
Replace form_query with fq
Diffstat (limited to 'src/init.c')
-rw-r--r--src/init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/init.c b/src/init.c
index 0f7e99e..47ae849 100644
--- a/src/init.c
+++ b/src/init.c
@@ -76,7 +76,7 @@ static int set_secret_enabled(DB *db, int enabled) {
int rc;
char sql[STR_M] = "";
- dbh_form_query_set_secret_enabled(sql);
+ dbh_fq_set_secret_enabled(sql);
rc = sqlite3_prepare_v2(db->ptr, sql, -1, &stmt, 0);
if (rc != SQLITE_OK) {
@@ -94,7 +94,7 @@ static int set_secret_enabled(DB *db, int enabled) {
static void init_make_tables(DB *db) {
char sql[STR_L] = "";
- dbh_form_query_make_tables(sql);
+ dbh_fq_make_tables(sql);
int rc = sqlite3_exec(db->ptr, sql, 0, 0, 0);
if (rc != SQLITE_OK ) {