RSSyl: Stop earlier when an invalid feed is encountered.
authorAndrej Kacian <ticho@claws-mail.org>
Mon, 15 May 2017 20:22:13 +0000 (22:22 +0200)
committerAndrej Kacian <ticho@claws-mail.org>
Mon, 15 May 2017 20:22:13 +0000 (22:22 +0200)
commit9056a51ccd598060bb52d4ef0354410e0c30b58e
tree698dff22c215d84e218d1a4fab1e8e993948eeb3
parent401c6cdb985141d007cafc5c372e42d23add13bb
RSSyl: Stop earlier when an invalid feed is encountered.

This fixes a bug where feeds get renamed to "Untitled feed"
if their URL starts serving e.g. a HTML document instead
of proper content.
src/plugins/rssyl/libfeed/feed.c
src/plugins/rssyl/libfeed/feed.h
src/plugins/rssyl/libfeed/parser.c
src/plugins/rssyl/rssyl_update_feed.c