From 582256618a102cb3b6597ed63124c48ae16f8efb Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Sun, 8 Mar 2020 17:11:36 +0100 Subject: move uc macro to blaze822_priv.h --- blaze822_priv.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'blaze822_priv.h') diff --git a/blaze822_priv.h b/blaze822_priv.h index c871ca7..f1fe880 100644 --- a/blaze822_priv.h +++ b/blaze822_priv.h @@ -12,7 +12,8 @@ struct message { #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 "@[\]^_") +// ASCII lowercase/uppercase without alpha check (wrong for "@[\]^_") #define lc(c) ((c) | 0x20) +#define uc(c) ((c) & 0xdf) void *mymemmem(const void *h0, size_t k, const void *n0, size_t l); -- cgit 1.4.1