mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-27 23:55:57 -05:00
Swap misplaced args in db.c
This commit is contained in:
parent
ac34ffabec
commit
cd14522915
2
src/db.c
2
src/db.c
@ -3688,7 +3688,7 @@ db_admin_update(const char *key, const char *value)
|
||||
#define Q_TMPL "UPDATE admin SET value='%q' WHERE key='%q';"
|
||||
char *query;
|
||||
|
||||
query = sqlite3_mprintf(Q_TMPL, key, value);
|
||||
query = sqlite3_mprintf(Q_TMPL, value, key);
|
||||
|
||||
return db_query_run(query, 1, 0);
|
||||
#undef Q_TMPL
|
||||
|
Loading…
Reference in New Issue
Block a user