Commit e83685d6 authored by Max Kellermann's avatar Max Kellermann

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

parents b2b7974b 81a198a7
...@@ -122,6 +122,7 @@ handle_addid(Client &client, Request args, Response &r) ...@@ -122,6 +122,7 @@ handle_addid(Client &client, Request args, Response &r)
try { try {
client.partition.MoveId(added_id, to); client.partition.MoveId(added_id, to);
r.Format("Id: %u\n", added_id);
return CommandResult::OK; return CommandResult::OK;
} catch (...) { } catch (...) {
/* rollback */ /* rollback */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment