[db] Refactor db_query_fetch_* functions to take the output parameter

first and the input parameter as last parameter
This commit is contained in:
chme
2021-12-28 07:23:56 +01:00
parent a65ee4462e
commit 8becdee8f1
14 changed files with 53 additions and 53 deletions

View File

@@ -1508,7 +1508,7 @@ cleanup_spotify_files(void)
return -1;
}
while (((ret = db_query_fetch_string(&qp, &path)) == 0) && (path))
while (((ret = db_query_fetch_string(&path, &qp)) == 0) && (path))
{
cache_artwork_delete_by_path(path);
}