about summary refs log tree commit diff
path: root/blaze822_priv.h
diff options
context:
space:
mode:
Diffstat (limited to 'blaze822_priv.h')
-rw-r--r--blaze822_priv.h3
1 files changed, 2 insertions, 1 deletions
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);