sfeed

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

commit ccd26d2017c7c9a83ef7d586ae039008c23ddcec
parent a1d106ab3e04b2c3fde4fca23ea72551a892efac
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Mon,  5 Jan 2015 12:52:54 +0100

sfeed: add note of truncation of tags (not an issue)

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

diff --git a/sfeed.c b/sfeed.c @@ -612,7 +612,7 @@ xml_handler_start_element(XMLParser *p, const char *name, size_t namelen) if(ctx.tag[0] != '\0') return; /* in item */ - strlcpy(ctx.tag, name, sizeof(ctx.tag)); + strlcpy(ctx.tag, name, sizeof(ctx.tag)); /* NOTE: truncation ignored */ ctx.taglen = namelen; ctx.tagid = gettag(ctx.item.feedtype, ctx.tag, ctx.taglen); if(ctx.tagid == TagUnknown)