summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2015-08-02 20:17:24 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2015-08-02 20:17:24 +0200
commitc2b0ef9fde4cbb0124e0f09c61d33cb83676a7aa (patch)
tree263406ec3816e9f6bf6f1f61386289c642ed75bc
parentc32005c3c1f31b2518b888d2f33d0c04e3c42f85 (diff)
sfeed_plain: remove control char check, assume input is sanitized for format programs
-rw-r--r--sfeed_plain.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sfeed_plain.c b/sfeed_plain.c
index 6bd93a3..4efae80 100644
--- 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;