diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2009-01-31 11:49:18 +0100 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2009-01-31 11:49:18 +0100 |
commit | 75ca888d6b16bc3cc417e168c7544a8da8bd6aab (patch) | |
tree | 0b3f0140df4f403951f2d817290c0ca3c72b61f7 /.gitignore | |
parent | 2f6286930d5a8f246c83c4c83dd60ba5f1119f8e (diff) |
rss plugin: fix return/error handling in parseRss
Commit 36f1f28e668919dfab75c8fc4d1020abad351bd1 borked error handling as
it assumed that a false or nil rss implied a nonempty errors, and it
failed to return early.
Fix by removing the early check for a missing rss and wrapping the
report_problem (and the previously missing 'return nil') in the check
for a nonempty errors array.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions