summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2014-06-21 12:30:41 +0200
committerLars-Dominik Braun <lars@6xq.net>2014-06-21 12:45:57 +0200
commit597b2ec46a3708d50ab9620d5bb4fdbd19cf8a6c (patch)
tree2008804c4b64a105a8751abec2518f039a294609 /src/main.c
parent4cd701c94150ed57b8492490dfea983fd9792f73 (diff)
downloadpianobar-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