Commit a046b6e1 authored by Oddegamra's avatar Oddegamra Committed by Max Kellermann

IcyMetaDataServer: increment iterator

Fixes segmentation fault.
parent 8017301d
......@@ -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;
}
......
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