From 81a198a76a51e3af848cddfb219bd96018e361f0 Mon Sep 17 00:00:00 2001 From: Eric Wollesen Date: Mon, 13 Jun 2016 09:56:02 -0600 Subject: [PATCH] return id for "addid" with position Previously the id was being returned only when a position wasn't specified. --- src/command/QueueCommands.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/command/QueueCommands.cxx b/src/command/QueueCommands.cxx index fc0d244e6..0c3e1699a 100644 --- a/src/command/QueueCommands.cxx +++ b/src/command/QueueCommands.cxx @@ -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 */