sfeed

simple feed reader - forked from git.codemadness.org/sfeed
git clone git://src.gearsix.net/sfeed
Log | Files | Refs | Atom | README | LICENSE

commit f578062c498b7fba33328c813a736e13c28ea372
parent 48aa9d406a9f961f3ab1b56ae38a20950f505588
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Mon, 17 Jun 2019 22:57:21 +0200

sfeed: optimization: xmlattr: when not in some RSS/Atom tag skip further checks

Diffstat:
Msfeed.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sfeed.c b/sfeed.c @@ -609,7 +609,7 @@ xmlattr(XMLParser *p, const char *t, size_t tl, const char *n, size_t nl, return; } - if (ctx.feedtype == FeedTypeNone) + if (!ctx.tagid) return; /* content-type may be: Atom: text, xhtml, html or mime-type.