diff options
Diffstat (limited to 'src/queue_print.c')
-rw-r--r-- | src/queue_print.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/queue_print.c b/src/queue_print.c index b33c4f3ba..b7510a15d 100644 --- a/src/queue_print.c +++ b/src/queue_print.c @@ -93,11 +93,11 @@ queue_search(struct client *client, const struct queue *queue, for (i = 0; i < queue_length(queue); i++) { const struct song *song = queue_get(queue, i); - if (strstrSearchTags(song, num_items, new_items)) + if (locate_song_search(song, num_items, new_items)) queue_print_song_info(client, queue, i); } - freeLocateTagItemArray(num_items, new_items); + locate_item_list_free(num_items, new_items); } void @@ -107,7 +107,7 @@ queue_find(struct client *client, const struct queue *queue, for (unsigned i = 0; i < queue_length(queue); i++) { const struct song *song = queue_get(queue, i); - if (tagItemsFoundAndMatches(song, num_items, items)) + if (locate_song_match(song, num_items, items)) queue_print_song_info(client, queue, i); } } |