summaryrefslogtreecommitdiff
path: root/contrib/eventcmd-examples/rbot.rb
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2015-09-25 17:44:58 +0200
committerLars-Dominik Braun <lars@6xq.net>2015-09-25 17:52:33 +0200
commit9dbd0f308b10f6a2982e72f25b0d26c951f5e87f (patch)
tree419e6f5d29449478ea869298c94fae66f6f458e1 /contrib/eventcmd-examples/rbot.rb
parent77ffe368e9b5045a801360c563623d5bc1c78771 (diff)
downloadpianobar-9dbd0f308b10f6a2982e72f25b0d26c951f5e87f.tar.gz
pianobar-9dbd0f308b10f6a2982e72f25b0d26c951f5e87f.tar.bz2
pianobar-9dbd0f308b10f6a2982e72f25b0d26c951f5e87f.zip
settings: Fix config file parser
scanf’s %s matches non-whitespace characters only and thus ‘# foo = bar’ is parsed as ‘foo’, ‘bar’ and not ‘# foo’, ‘bar’ (as expected). Thus comments did not work if they a) started with a valid key and b) had a space between hash-sign and key. Fixes issue #526.
Diffstat (limited to 'contrib/eventcmd-examples/rbot.rb')
0 files changed, 0 insertions, 0 deletions