Merge branch 'addid-with-pos' of git://github.com/ewollesen/MPD

This commit is contained in:
Max Kellermann 2016-06-13 18:27:21 +02:00
commit e83685d667

View File

@ -122,6 +122,7 @@ handle_addid(Client &client, Request args, Response &r)
try {
client.partition.MoveId(added_id, to);
r.Format("Id: %u\n", added_id);
return CommandResult::OK;
} catch (...) {
/* rollback */