sfeed

Simple RSS and Atom feed parser
git clone https://git.sinitax.com/codemadness/sfeed
Log | Files | Refs | README | LICENSE | Upstream | sfeed.txt

commit c49745685c378babf3c85b8a81675adc3d44af19
parent 19430fb45636614d96a08342cd7d83774e888c2e
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Thu,  6 Aug 2015 20:41:46 +0200

sfeed: proper sort order for comparing tag

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

diff --git a/sfeed.c b/sfeed.c @@ -145,7 +145,7 @@ gettag(enum FeedType feedtype, const char *name, size_t namelen) } /* search */ for (i = 0; tags[i].name; i++) { - if (!(n = strncasecmp(tags[i].name, name, tags[i].len))) + if (!(n = strcasecmp(tags[i].name, name))) return tags[i].id; /* found */ /* optimization: it's sorted so nothing after it matches. */ if (n > 0)