summaryrefslogtreecommitdiff
path: root/sfeed_opml_import.c
diff options
context:
space:
mode:
Diffstat (limited to 'sfeed_opml_import.c')
-rw-r--r--sfeed_opml_import.c5
1 files changed, 2 insertions, 3 deletions
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 <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