IcyMetaDataServer: increment iterator
Fixes segmentation fault.
This commit is contained in:
parent
8017301de5
commit
a046b6e105
@ -101,7 +101,7 @@ icy_server_metadata_page(const struct tag *tag, const enum tag_type *types)
|
|||||||
last_item = -1;
|
last_item = -1;
|
||||||
|
|
||||||
while (*types != TAG_NUM_OF_ITEM_TYPES) {
|
while (*types != TAG_NUM_OF_ITEM_TYPES) {
|
||||||
const gchar *tag_item = tag_get_value(tag, *types);
|
const gchar *tag_item = tag_get_value(tag, *types++);
|
||||||
if (tag_item)
|
if (tag_item)
|
||||||
tag_items[++last_item] = tag_item;
|
tag_items[++last_item] = tag_item;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user