aboutsummaryrefslogtreecommitdiff
path: root/src/QueueCommands.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2012-08-29 18:55:49 +0200
committerMax Kellermann <max@duempel.org>2012-08-29 18:55:49 +0200
commit6d4ca071a5cefc756f734e57a7799b80ff037ddb (patch)
treed1a71fdd2509d37494f76f29d17ea11252b7c4f5 /src/QueueCommands.cxx
parent684a3d30a682aecbf8be786a70328d1885afaf05 (diff)
dbUtils.h: eliminate this header
Diffstat (limited to 'src/QueueCommands.cxx')
-rw-r--r--src/QueueCommands.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/QueueCommands.cxx b/src/QueueCommands.cxx
index 8083cc96..de00cb18 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);
}