IcyMetaDataServer: increment iterator

Fixes segmentation fault.
This commit is contained in:
Oddegamra 2013-02-27 20:01:58 +01:00 committed by Max Kellermann
parent 8017301de5
commit a046b6e105

View File

@ -101,7 +101,7 @@ icy_server_metadata_page(const struct tag *tag, const enum tag_type *types)
last_item = -1;
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)
tag_items[++last_item] = tag_item;
}