Commit 7f0fbc2a authored by W. Michael Petullo's avatar W. Michael Petullo
Browse files

Debug message when request asks for metadata type that is not known


Signed-off-by: W. Michael Petullo's avatarW. Michael Petullo <mike@flyn.org>
parent 2ae05d95
...@@ -1083,12 +1083,17 @@ _dmap_share_parse_meta_str (const char *attrs, struct DMAPMetaDataMap *mdm) ...@@ -1083,12 +1083,17 @@ _dmap_share_parse_meta_str (const char *attrs, struct DMAPMetaDataMap *mdm)
for (i = 0; attrsv[i]; i++) { for (i = 0; attrsv[i]; i++) {
guint j; guint j;
gboolean found = FALSE;
for (j = 0; mdm[j].tag; j++) { for (j = 0; mdm[j].tag; j++) {
if (strcmp (mdm[j].tag, attrsv[i]) == 0) { if (strcmp (mdm[j].tag, attrsv[i]) == 0) {
bits |= (((bitwise) 1) << mdm[j].md); bits |= (((bitwise) 1) << mdm[j].md);
found = TRUE;
} }
} }
if (found == FALSE)
g_debug ("Unknown meta request: %s", attrsv[i]);
} }
g_strfreev (attrsv); g_strfreev (attrsv);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment