diff options
author | Max Kellermann <max@duempel.org> | 2012-08-29 18:55:49 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2012-08-29 18:55:49 +0200 |
commit | 6d4ca071a5cefc756f734e57a7799b80ff037ddb (patch) | |
tree | d1a71fdd2509d37494f76f29d17ea11252b7c4f5 /src/QueueCommands.cxx | |
parent | 684a3d30a682aecbf8be786a70328d1885afaf05 (diff) | |
download | mpd-6d4ca071a5cefc756f734e57a7799b80ff037ddb.tar.gz mpd-6d4ca071a5cefc756f734e57a7799b80ff037ddb.tar.xz mpd-6d4ca071a5cefc756f734e57a7799b80ff037ddb.zip |
dbUtils.h: eliminate this header
Diffstat (limited to '')
-rw-r--r-- | src/QueueCommands.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/QueueCommands.cxx b/src/QueueCommands.cxx index 8083cc96f..de00cb18d 100644 --- a/src/QueueCommands.cxx +++ b/src/QueueCommands.cxx @@ -20,6 +20,7 @@ #include "config.h" #include "QueueCommands.hxx" #include "CommandError.h" +#include "DatabaseQueue.hxx" extern "C" { #include "protocol/argparser.h" @@ -29,7 +30,6 @@ extern "C" { #include "ls.h" #include "uri.h" #include "locate.h" -#include "dbUtils.h" #include "client_internal.h" #include "client_file.h" } @@ -70,7 +70,7 @@ handle_add(struct client *client, G_GNUC_UNUSED int argc, char *argv[]) } GError *error = NULL; - return addAllIn(client->player_control, uri, &error) + return findAddIn(client->player_control, uri, nullptr, &error) ? COMMAND_RETURN_OK : print_error(client, error); } |