sfeed

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

commit 892ec48ad511f921fc19fbf2cdb86192c6716ce4
parent 2b50075f9145b2261566f0f67eb9f31523c7bd71
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Sat, 18 Jan 2020 20:14:39 +0100

minor style: use plain int for xml_entitytostr()

Diffstat:
Msfeed.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sfeed.c b/sfeed.c @@ -672,7 +672,7 @@ xmlattrentity(XMLParser *p, const char *t, size_t tl, const char *n, size_t nl, const char *data, size_t datalen) { char buf[16]; - ssize_t len; + int len; /* handles transforming inline XML to data */ if (ISINCONTENT(ctx)) { @@ -744,7 +744,7 @@ static void xmldataentity(XMLParser *p, const char *data, size_t datalen) { char buf[16]; - ssize_t len; + int len; if (!ctx.field) return;