diff options
author | Leah Neukirchen <leah@vuxu.org> | 2020-03-08 17:11:36 +0100 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2020-03-08 17:11:36 +0100 |
commit | 582256618a102cb3b6597ed63124c48ae16f8efb (patch) | |
tree | 14589fdf3642a8c11ffab5fe7ee0bfb3c489a4e7 /blaze822_priv.h | |
parent | 83f9794bb0a79218836d05a58a58c330e32ba36d (diff) | |
download | mblaze-582256618a102cb3b6597ed63124c48ae16f8efb.tar.gz mblaze-582256618a102cb3b6597ed63124c48ae16f8efb.tar.xz mblaze-582256618a102cb3b6597ed63124c48ae16f8efb.zip |
move uc macro to blaze822_priv.h
Diffstat (limited to 'blaze822_priv.h')
-rw-r--r-- | blaze822_priv.h | 3 |
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); |