From 76f85e6f7bea6f286389caf96835f2cd61d0961b Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 20 Oct 2015 12:07:18 +0200 Subject: command/DatabaseCommands: pass URI to handle_lsinfo2() --- src/command/DatabaseCommands.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/command/DatabaseCommands.cxx') diff --git a/src/command/DatabaseCommands.cxx b/src/command/DatabaseCommands.cxx index 4fbae95ec..bfcf3aa54 100644 --- a/src/command/DatabaseCommands.cxx +++ b/src/command/DatabaseCommands.cxx @@ -52,11 +52,8 @@ handle_listfiles_db(Client &client, Response &r, const char *uri) } CommandResult -handle_lsinfo2(Client &client, Request args, Response &r) +handle_lsinfo2(Client &client, const char *uri, Response &r) { - /* default is root directory */ - const auto uri = args.GetOptional(0, ""); - const DatabaseSelection selection(uri, false); Error error; -- cgit v1.2.3