sfeed

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

commit 068a4dec639ab6a9b270785d605bef4b0abcec91
parent 9dab5d44d3ede9e9941590be7e0d77665a63156a
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Wed, 24 Apr 2019 00:19:42 +0200

util: small code-style fix

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

diff --git a/util.c b/util.c @@ -226,8 +226,8 @@ strtotime(const char *s, time_t *t) void xmlencode(const char *s, FILE *fp) { - for (; *s; s++) { - switch(*s) { + for (; *s; ++s) { + switch (*s) { case '<': fputs("&lt;", fp); break; case '>': fputs("&gt;", fp); break; case '\'': fputs("&#39;", fp); break;