sfeed

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

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)