mblaze

Unix utilities to deal with Maildir - my mirror
git clone https://pi.duncano.de/git/mblaze.git
Log | Files | Refs | README | COPYING

commit 9336bc9939e970c6e98fa66c13b221c8929d9e19
parent 9ac7a2aeb7d17fdfcb68cc2892870eed021d86d1
Author: Christian Neukirchen <chneukirchen@gmail.com>
Date:   Fri, 29 Jul 2016 11:44:53 +0200

rfc2045: downcase mime type

Diffstat:
rfc2045.c | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git 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;