diff options
author | Max Kellermann <max@duempel.org> | 2015-08-11 22:11:28 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2015-08-11 22:43:10 +0200 |
commit | 0f92d021a1dc2992352b635846428229d2c9ffbb (patch) | |
tree | 428bb5673728c67cf1fd29672609c9e367ad9da0 /src/command/NeighborCommands.cxx | |
parent | cbdc3194cc20aa5abcce8b53c44d46a96002ad3a (diff) | |
download | mpd-0f92d021a1dc2992352b635846428229d2c9ffbb.tar.gz mpd-0f92d021a1dc2992352b635846428229d2c9ffbb.tar.xz mpd-0f92d021a1dc2992352b635846428229d2c9ffbb.zip |
command/Request: new struct wrapping ConstBuffer<const char *>
Diffstat (limited to '')
-rw-r--r-- | src/command/NeighborCommands.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/command/NeighborCommands.cxx b/src/command/NeighborCommands.cxx index 3c171bddb..10dbe3074 100644 --- a/src/command/NeighborCommands.cxx +++ b/src/command/NeighborCommands.cxx @@ -19,6 +19,7 @@ #include "config.h" #include "NeighborCommands.hxx" +#include "Request.hxx" #include "client/Client.hxx" #include "Instance.hxx" #include "Partition.hxx" @@ -39,7 +40,7 @@ neighbor_commands_available(const Instance &instance) } CommandResult -handle_listneighbors(Client &client, gcc_unused ConstBuffer<const char *> args) +handle_listneighbors(Client &client, gcc_unused Request args) { const NeighborGlue *const neighbors = client.partition.instance.neighbors; |