diff --git a/src/api.c b/src/api.c index 4421fd7..3e3ed83 100644 --- a/src/api.c +++ b/src/api.c @@ -80,14 +80,12 @@ remind(char * who) return r; } -DECL char * -set_repo(char* who, char* link) +DECL void +set_repo(const char * const who, const char * const link) { - char * r; DBERR(sqlite3_bind_text(set_repo_stmt, 1, link, -1, SQLITE_STATIC)); DBERR(sqlite3_bind_text(set_repo_stmt, 2, who, -1, SQLITE_STATIC)); DBERR(sqlite3_step(set_repo_stmt)); - return r; } DECL int