Skip to content

Commit

Permalink
Merge pull request #33 from AleksArt000/main
Browse files Browse the repository at this point in the history
less annoying
  • Loading branch information
ilovethensa authored Nov 18, 2023
2 parents 2efaa4d + 71950fe commit b60f84f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/update.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ int update()
struct package* remote = calloc(1, sizeof(struct package));
local->name = (char*)sqlite3_column_text(stmt, 0);
local->version = (char*)sqlite3_column_text(stmt, 1);
msg(ERROR, "don't ask why this is here");
dbg(1, "don't ask why this is here");
remote->name = local->name;
retrieve_data_repo(ALL_DB, remote, NULL, NULL);
if(remote->version == NULL)
Expand Down Expand Up @@ -98,7 +98,7 @@ int upgrade()
struct package* remote = calloc(1, sizeof(struct package));
local->name = (char*)sqlite3_column_text(stmt, 0);
local->version = (char*)sqlite3_column_text(stmt, 1);
msg(ERROR, "don't ask why this is here");
dbg(1, "don't ask why this is here");
remote->name = local->name;
retrieve_data_repo(ALL_DB, remote, NULL, NULL);
if(remote->version == NULL)
Expand Down

0 comments on commit b60f84f

Please sign in to comment.