From b32ef0fd5a468fa95355799b15ac365d420550d5 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Wed, 13 Jul 2016 16:00:20 +0200 Subject: blaze822_priv.h: add isfws --- rfc2047.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rfc2047.c') diff --git a/rfc2047.c b/rfc2047.c index 9559608..a52c612 100644 --- a/rfc2047.c +++ b/rfc2047.c @@ -75,7 +75,7 @@ blaze822_decode_b64(char *s, char *e, char **deco, size_t *decleno) *deco = buf; while (s + 4 <= e) { - while (s < e && isspace((unsigned char) *s)) + while (s < e && isfws((unsigned char) *s)) s++; if (s < e) { uint32_t v = 0; @@ -116,7 +116,7 @@ blaze822_decode_rfc2047(char *dst, char *src, size_t dlen, char *tgtenc) char *t; t = b; while (t < s) // strip space-only inbetween encoded words - if (!isspace((unsigned char) *t++)) { + if (!isfws(*t++)) { while (b < s && dlen) { *dst++ = *b++; dlen--; -- cgit 1.4.1