diff options
author | Max Kellermann <max@duempel.org> | 2015-10-20 12:07:18 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2015-10-20 12:07:18 +0200 |
commit | 76f85e6f7bea6f286389caf96835f2cd61d0961b (patch) | |
tree | e26b3a6f13eaaa5883f3558ca8dd3b7b2714106f /src/command/DatabaseCommands.cxx | |
parent | 81ce684b35ca498ef5d8c738799284476f4573a0 (diff) | |
download | mpd-76f85e6f7bea6f286389caf96835f2cd61d0961b.tar.gz mpd-76f85e6f7bea6f286389caf96835f2cd61d0961b.tar.xz mpd-76f85e6f7bea6f286389caf96835f2cd61d0961b.zip |
command/DatabaseCommands: pass URI to handle_lsinfo2()
Diffstat (limited to 'src/command/DatabaseCommands.cxx')
-rw-r--r-- | src/command/DatabaseCommands.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
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; |