diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2014-06-21 12:30:41 +0200 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2014-06-21 12:45:57 +0200 |
commit | 597b2ec46a3708d50ab9620d5bb4fdbd19cf8a6c (patch) | |
tree | 2008804c4b64a105a8751abec2518f039a294609 /src/main.c | |
parent | 4cd701c94150ed57b8492490dfea983fd9792f73 (diff) | |
download | pianobar-597b2ec46a3708d50ab9620d5bb4fdbd19cf8a6c.tar.gz pianobar-597b2ec46a3708d50ab9620d5bb4fdbd19cf8a6c.tar.bz2 pianobar-597b2ec46a3708d50ab9620d5bb4fdbd19cf8a6c.zip |
piano: Fix segfault in GET_STATION_INFO response parser
Pandora added two new integer values to the feedback object, which
breaks the assumption that all values are arrays. Since we know the
names of the interesting keys (thumbsUp and thumbsDown) just use them
instead of iterating over all available keys.
Fixes #460.
Diffstat (limited to 'src/main.c')
0 files changed, 0 insertions, 0 deletions