[mpd] Fix nextsong/nextsongid in status cmd response

This commit is contained in:
chme 2020-11-08 07:50:14 +01:00
parent 17e7df84fb
commit ccaa7967bf

View File

@ -1044,8 +1044,8 @@ mpd_command_status(struct evbuffer *evbuf, int argc, char **argv, char **errmsg,
evbuffer_add_printf(evbuf, evbuffer_add_printf(evbuf,
"nextsong: %d\n" "nextsong: %d\n"
"nextsongid: %d\n", "nextsongid: %d\n",
queue_item->id, queue_item->pos,
queue_item->pos); queue_item->id);
free_queue_item(queue_item, 0); free_queue_item(queue_item, 0);
} }