From b88aad839e5a541ef24ecc216d3824c5af3b59f6 Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Sun, 31 Jan 2016 15:45:41 +0100 Subject: sfeed_opml_import: fix compat --- sfeed_opml_import.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'sfeed_opml_import.c') diff --git a/sfeed_opml_import.c b/sfeed_opml_import.c index c8dc60b..ce6df5b 100644 --- a/sfeed_opml_import.c +++ b/sfeed_opml_import.c @@ -6,7 +6,7 @@ #include #include -#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 -- cgit v1.2.3