diff --git a/src/api.c b/src/api.c index 3f4098c..4b1907d 100644 --- a/src/api.c +++ b/src/api.c @@ -35,17 +35,17 @@ api_init(void) DBERR(sqlite3_open(DBFILE, &connection)); DBERR(stmt_prepare(remind_stmt)); DBERR(stmt_prepare(set_repo_stmt)); - DBERR(stmt_prepare(get_nth_id_stmt)); + DBERR(stmt_prepare(get_nth_id_stmt)); return 0; } DECL void api_rope(void) { - DBERR(sqlite3_finalize(remind_stmt)); + DBERR(sqlite3_finalize(remind_stmt)); DBERR(sqlite3_finalize(set_repo_stmt)); DBERR(sqlite3_finalize(get_nth_id_stmt)); - sqlite3_close(connection); + sqlite3_close(connection); } DECL void