sfeed

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

commit c2b0ef9fde4cbb0124e0f09c61d33cb83676a7aa
parent c32005c3c1f31b2518b888d2f33d0c04e3c42f85
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Sun,  2 Aug 2015 20:17:24 +0200

sfeed_plain: remove control char check, assume input is sanitized for format programs

Diffstat:
Msfeed_plain.c | 3---
1 file changed, 0 insertions(+), 3 deletions(-)

diff --git a/sfeed_plain.c b/sfeed_plain.c @@ -22,9 +22,6 @@ printutf8pad(FILE *fp, const char *s, size_t len, int pad) int r; for (i = 0; *s && n < len; i++, s++) { - /* skip control characters */ - if (iscntrl(*s)) - continue; if (ISUTF8(*s)) { if ((r = mbtowc(&w, s, 4)) == -1) break;