aboutsummaryrefslogtreecommitdiffstats
path: root/src/command/NeighborCommands.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-12-06 00:08:08 +0100
committerMax Kellermann <max@duempel.org>2014-12-08 13:30:35 +0100
commit6edfc56c9df7b212c65a5a40e9d0f132429578ea (patch)
tree32817169cad14212606f3e9234283bf6671e924a /src/command/NeighborCommands.cxx
parent5837a6394256f10b16d9a1fbc19be686ef2da2b6 (diff)
downloadmpd-6edfc56c9df7b212c65a5a40e9d0f132429578ea.tar.gz
mpd-6edfc56c9df7b212c65a5a40e9d0f132429578ea.tar.xz
mpd-6edfc56c9df7b212c65a5a40e9d0f132429578ea.zip
command: use ConstBuffer<const char *> for argument list
Diffstat (limited to 'src/command/NeighborCommands.cxx')
-rw-r--r--src/command/NeighborCommands.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/command/NeighborCommands.cxx b/src/command/NeighborCommands.cxx
index 22e8adf9e..3efae7883 100644
--- a/src/command/NeighborCommands.cxx
+++ b/src/command/NeighborCommands.cxx
@@ -25,6 +25,7 @@
#include "protocol/Result.hxx"
#include "neighbor/Glue.hxx"
#include "neighbor/Info.hxx"
+#include "util/ConstBuffer.hxx"
#include <set>
#include <string>
@@ -38,8 +39,7 @@ neighbor_commands_available(const Instance &instance)
}
CommandResult
-handle_listneighbors(Client &client,
- gcc_unused unsigned argc, gcc_unused char *argv[])
+handle_listneighbors(Client &client, gcc_unused ConstBuffer<const char *> args)
{
const NeighborGlue *const neighbors =
client.partition.instance.neighbors;