diff options
Diffstat (limited to '')
-rw-r--r-- | src/dbUtils.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/dbUtils.c b/src/dbUtils.c index 1ecb9f608..4cb3edcca 100644 --- a/src/dbUtils.c +++ b/src/dbUtils.c @@ -29,7 +29,7 @@ #include "storedPlaylist.h" typedef struct _ListCommandItem { - mpd_sint8 tagType; + int8_t tagType; int numConditionals; LocateTagItem *conditionals; } ListCommandItem; @@ -295,8 +295,10 @@ static void visitTag(int fd, struct strset *set, for (i = 0; i < tag->numOfItems; i++) { if (tag->items[i]->type == tagType) { strset_add(set, tag->items[i]->value); + return; } } + strset_add(set, ""); } struct list_tags_data { |