mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-10 22:10:15 -05:00
[db] Refactor db_query_fetch_* functions to take the output parameter
first and the input parameter as last parameter
This commit is contained in:
@@ -982,7 +982,7 @@ pipelist_create(void)
|
||||
return NULL;
|
||||
|
||||
head = NULL;
|
||||
while ((ret = db_query_fetch_file(&qp, &dbmfi)) == 0)
|
||||
while ((ret = db_query_fetch_file(&dbmfi, &qp)) == 0)
|
||||
{
|
||||
ret = safe_atoi32(dbmfi.id, &id);
|
||||
if (ret < 0)
|
||||
|
||||
Reference in New Issue
Block a user