aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/clog.c6
-rw-r--r--src/init.c7
2 files changed, 3 insertions, 10 deletions
diff --git a/src/clog.c b/src/clog.c
index 5754955..af51155 100644
--- a/src/clog.c
+++ b/src/clog.c
@@ -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;
diff --git a/src/init.c b/src/init.c
index 3208796..c6697ee 100644
--- a/src/init.c
+++ b/src/init.c
@@ -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);