use tolower instead of lc as there are some M365 header with _ in the name of headers

pull/235/head
Stephan Toggweiler 1 year ago committed by GitHub
parent cccf01cb9a
commit 417847fd89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -396,7 +396,7 @@ unfold_hdr(char *buf, char *end)
s = buf;
while (s < end && *s != ':' && *s != '\n') {
*s = lc(*s);
*s = tolower(*s);
s++;
}
@ -412,7 +412,7 @@ unfold_hdr(char *buf, char *end)
compress_hdr(l, s-1);
l = s;
while (s < end && *s != ':' && *s != '\n') {
*s = lc(*s);
*s = tolower(*s);
s++;
}
}

Loading…
Cancel
Save