diff options
author | Oddegamra <oddegamra@gmx.org> | 2013-02-27 20:01:58 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-02-27 20:01:58 +0100 |
commit | a046b6e10538ec8d31d63701b8fa6309bf26fe16 (patch) | |
tree | 2f871aa2c5707dadd45d25f49973156661413448 /src/IcyMetaDataServer.cxx | |
parent | 8017301de5207b49e6353c26bb5d98eceaf5db01 (diff) | |
download | mpd-a046b6e10538ec8d31d63701b8fa6309bf26fe16.tar.gz mpd-a046b6e10538ec8d31d63701b8fa6309bf26fe16.tar.xz mpd-a046b6e10538ec8d31d63701b8fa6309bf26fe16.zip |
IcyMetaDataServer: increment iterator
Fixes segmentation fault.
Diffstat (limited to 'src/IcyMetaDataServer.cxx')
-rw-r--r-- | src/IcyMetaDataServer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/IcyMetaDataServer.cxx b/src/IcyMetaDataServer.cxx index b1d075582..8f02acacb 100644 --- a/src/IcyMetaDataServer.cxx +++ b/src/IcyMetaDataServer.cxx @@ -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; } |