SongSticker: add Database reference parameter

This commit is contained in:
Max Kellermann
2014-02-04 01:15:08 +01:00
parent 29072797ca
commit 9c637df77e
3 changed files with 5 additions and 8 deletions

View File

@@ -133,7 +133,7 @@ handle_sticker_song(Client &client, int argc, char *argv[])
argv[4],
};
success = sticker_song_find(base_uri, data.name,
success = sticker_song_find(*db, base_uri, data.name,
sticker_song_find_print_cb, &data);
if (!success) {
command_error(client, ACK_ERROR_SYSTEM,