From 0f92d021a1dc2992352b635846428229d2c9ffbb Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 11 Aug 2015 22:11:28 +0200 Subject: command/Request: new struct wrapping ConstBuffer --- src/command/FileCommands.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/command/FileCommands.cxx') diff --git a/src/command/FileCommands.cxx b/src/command/FileCommands.cxx index 7673c0a2e..574254d7a 100644 --- a/src/command/FileCommands.cxx +++ b/src/command/FileCommands.cxx @@ -21,6 +21,7 @@ #include "config.h" #include "FileCommands.hxx" +#include "Request.hxx" #include "CommandError.hxx" #include "protocol/Ack.hxx" #include "protocol/Result.hxx" @@ -216,7 +217,7 @@ translate_uri(const char *uri) } CommandResult -handle_read_comments(Client &client, ConstBuffer args) +handle_read_comments(Client &client, Request args) { assert(args.size == 1); const char *const uri = translate_uri(args.front()); -- cgit v1.2.3