From d66c055fec3923dd38e5b28d74c1c4e7e70040db Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 27 Dec 2009 16:49:04 +0100 Subject: dbUtils: return multiple tag values per song When collecting tag values for the result set, add all of a song's tag values of the searched type. This affects the "list" command. Previously, "list" only considered the first tag value of a song. --- src/dbUtils.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/dbUtils.c') diff --git a/src/dbUtils.c b/src/dbUtils.c index f89148c1b..fa2cfa27a 100644 --- a/src/dbUtils.c +++ b/src/dbUtils.c @@ -246,7 +246,6 @@ visitTag(struct client *client, struct strset *set, for (unsigned i = 0; i < tag->num_items; i++) { if (tag->items[i]->type == tagType) { strset_add(set, tag->items[i]->value); - return; } } -- cgit v1.2.3