mirror of
https://github.com/owntone/owntone-server.git
synced 2025-02-05 10:48:09 -05:00
Fix error message in db_file_add()
This commit is contained in:
parent
465c10ded3
commit
f696aa321e
2
src/db.c
2
src/db.c
@ -1836,7 +1836,7 @@ db_file_add(struct media_file_info *mfi)
|
|||||||
|
|
||||||
if (mfi->id != 0)
|
if (mfi->id != 0)
|
||||||
{
|
{
|
||||||
DPRINTF(E_WARN, L_DB, "Trying to update file with id > 0; use db_file_update()?\n");
|
DPRINTF(E_WARN, L_DB, "Trying to add file with non-zero id; use db_file_update()?\n");
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user