aboutsummaryrefslogtreecommitdiffstats
path: root/src/dbUtils.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/dbUtils.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dbUtils.c b/src/dbUtils.c
index a19294b04..98943d00a 100644
--- a/src/dbUtils.c
+++ b/src/dbUtils.c
@@ -295,8 +295,10 @@ static void visitTag(struct client *client, 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 {