mhdr: use strncasecmp to fix -M -h Received

pull/118/head
Leah Neukirchen 6 years ago
parent 469c0af68a
commit 4b4fed9b8a

@ -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++;

Loading…
Cancel
Save