aboutsummaryrefslogtreecommitdiffstats
path: root/src/db_print.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2011-09-13 21:36:51 +0200
committerMax Kellermann <max@duempel.org>2011-09-13 21:39:07 +0200
commitb7d2d4cfe8b88174a7b1f41840ddc0b23dbd6a75 (patch)
tree13032fee9c1341f02a2318eb12e3356f87f74d74 /src/db_print.c
parenta6c797ee4b8e83c031961b22e449f083e79fe7af (diff)
downloadmpd-b7d2d4cfe8b88174a7b1f41840ddc0b23dbd6a75.tar.gz
mpd-b7d2d4cfe8b88174a7b1f41840ddc0b23dbd6a75.tar.xz
mpd-b7d2d4cfe8b88174a7b1f41840ddc0b23dbd6a75.zip
database: don't allow uri==NULL
Add nonnull attributes and fix all callers.
Diffstat (limited to 'src/db_print.c')
-rw-r--r--src/db_print.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db_print.c b/src/db_print.c
index c4086a387..d398a22ac 100644
--- a/src/db_print.c
+++ b/src/db_print.c
@@ -286,7 +286,7 @@ listAllUniqueTags(struct client *client, int type,
data.set = strset_new();
}
- if (!db_walk(NULL, &unique_tags_visitor, &data, error_r)) {
+ if (!db_walk("", &unique_tags_visitor, &data, error_r)) {
freeListCommandItem(item);
return false;
}