diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/clog.c | 6 | ||||
-rw-r--r-- | src/init.c | 7 |
2 files changed, 3 insertions, 10 deletions
@@ -521,11 +521,7 @@ int sql_render_posts(struct kore_pgsql *sql, struct post_query *pq) { } int -sql_insert_posts( - const char *id, - const char *title, - const char *body -) { +sql_insert_posts(const char *id, const char *title, const char *body) { int err = KORE_RESULT_OK; struct kore_pgsql sql; @@ -69,11 +69,8 @@ init_db(void) { // Register the database pg_config = kore_buf_stringify(pg_config_buf, NULL); - kore_log(LOG_INFO, "%s", pg_config); - err = kore_pgsql_register( - database, - pg_config - ); + // kore_log(LOG_DEBUG, "%s", pg_config); + err = kore_pgsql_register(database, pg_config); kore_buf_free(pg_config_buf); |