diff options
Diffstat (limited to '')
-rw-r--r-- | src/DatabaseCommands.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/DatabaseCommands.cxx b/src/DatabaseCommands.cxx index e0449e9c8..9dbe4e47f 100644 --- a/src/DatabaseCommands.cxx +++ b/src/DatabaseCommands.cxx @@ -67,8 +67,11 @@ handle_match(struct client *client, int argc, char *argv[], bool fold_case) return COMMAND_RETURN_ERROR; } + const DatabaseSelection selection("", true, list); + GError *error = NULL; - enum command_return ret = findSongsIn(client, "", list, &error) + enum command_return ret = + db_selection_print(client, selection, true, &error) ? COMMAND_RETURN_OK : print_error(client, error); |