aboutsummaryrefslogtreecommitdiffstats
path: root/src/command.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2012-08-07 23:25:42 +0200
committerMax Kellermann <max@duempel.org>2012-08-07 23:27:23 +0200
commit6b39a5621d9c6724db8f03164e350ae6220fa00a (patch)
tree1d2284873c2a8bdb1f27703731ed1b6f988fb84c /src/command.c
parent0d46e118269689e2a98e8011f52bb4bb0459421a (diff)
downloadmpd-6b39a5621d9c6724db8f03164e350ae6220fa00a.tar.gz
mpd-6b39a5621d9c6724db8f03164e350ae6220fa00a.tar.xz
mpd-6b39a5621d9c6724db8f03164e350ae6220fa00a.zip
locate: add "casefold" flag to parser
Fold the case during construction, without having to create another copy.
Diffstat (limited to '')
-rw-r--r--src/command.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/command.c b/src/command.c
index 08d508de7..b1d222250 100644
--- a/src/command.c
+++ b/src/command.c
@@ -677,7 +677,7 @@ static enum command_return
handle_playlistfind(struct client *client, int argc, char *argv[])
{
struct locate_item_list *list =
- locate_item_list_parse(argv + 1, argc - 1);
+ locate_item_list_parse(argv + 1, argc - 1, false);
if (list == NULL || list->length == 0) {
if (list != NULL)
@@ -698,7 +698,7 @@ static enum command_return
handle_playlistsearch(struct client *client, int argc, char *argv[])
{
struct locate_item_list *list =
- locate_item_list_parse(argv + 1, argc - 1);
+ locate_item_list_parse(argv + 1, argc - 1, true);
if (list == NULL || list->length == 0) {
if (list != NULL)