From 9336bc9939e970c6e98fa66c13b221c8929d9e19 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Fri, 29 Jul 2016 11:44:53 +0200 Subject: rfc2045: downcase mime type --- rfc2045.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'rfc2045.c') diff --git a/rfc2045.c b/rfc2045.c index 49743cb..c45f3fd 100644 --- a/rfc2045.c +++ b/rfc2045.c @@ -35,8 +35,10 @@ blaze822_mime_body(struct message *msg, ct = "text/plain; charset=US-ASCII"; char *s = ct; - while (*s && *s != ';') + while (*s && *s != ';') { + *s = lc(*s); s++; + } *cto = ct; -- cgit 1.4.1