diff options
Diffstat (limited to 'blaze822_priv.h')
-rw-r--r-- | blaze822_priv.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/blaze822_priv.h b/blaze822_priv.h index 5276ff7..1da4d96 100644 --- a/blaze822_priv.h +++ b/blaze822_priv.h @@ -9,5 +9,7 @@ struct message { // WSP = SP / HTAB #define iswsp(c) (((c) == ' ' || (c) == '\t')) +#define isfws(c) (((unsigned char)(c) == ' ' || (unsigned char)(c) == '\t' || (unsigned char)(c) == '\n' || (unsigned char)(c) == '\r')) + // ASCII lowercase without alpha check (wrong for "@[\]^_") #define lc(c) ((c) | 0x20) |