sfeed

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

commit b88aad839e5a541ef24ecc216d3824c5af3b59f6
parent 5e43bd658e578ced54f6065e95f6efb4892e114c
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Sun, 31 Jan 2016 15:45:41 +0100

sfeed_opml_import: fix compat

Diffstat:
Msfeed_opml_import.c | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/sfeed_opml_import.c b/sfeed_opml_import.c @@ -6,7 +6,7 @@ #include <strings.h> #include <time.h> -#include "compat.h" +#include "util.h" #include "xml.h" static XMLParser parser; /* XML parser state */ @@ -15,10 +15,9 @@ static char url[2048], text[256], title[256]; static void printsafe(const char *s) { - for (; *s; s++) { + for (; *s; s++) if (!iscntrl((int)*s) && *s != '\'' && *s != '\\') putchar((int)*s); - } } static void