about summary refs log tree commit diff
path: root/mhdr.c
diff options
context:
space:
mode:
Diffstat (limited to 'mhdr.c')
-rw-r--r--mhdr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mhdr.c b/mhdr.c
index c31cee2..7836a84 100644
--- a/mhdr.c
+++ b/mhdr.c
@@ -138,7 +138,7 @@ headermany(struct message *msg)
 				*n = 0;
 
 			size_t l = strlen(h);
-			if (strncmp(hdr, h, l) == 0 && hdr[l] == ':') {
+			if (strncasecmp(hdr, h, l) == 0 && hdr[l] == ':') {
 				hdr += l + 1;
 				while (*hdr == ' ' || *hdr == '\t')
 					hdr++;