From c18057139cfa336fb52e7933de80e18e4e48daca Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Tue, 19 Mar 2002 23:29:41 +0000 Subject: Fix this to work right. We need to convert the input buffer to the charset 2002-03-19 Jeffrey Stedfast * camel-mime-utils.c (header_encode_param): Fix this to work right. We need to convert the input buffer to the charset we claim in the encoded param (duh). svn path=/trunk/; revision=16214 --- camel/camel-mime-filter-chomp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'camel/camel-mime-filter-chomp.c') diff --git a/camel/camel-mime-filter-chomp.c b/camel/camel-mime-filter-chomp.c index 67a6e71ed7..6083b6dfe7 100644 --- a/camel/camel-mime-filter-chomp.c +++ b/camel/camel-mime-filter-chomp.c @@ -125,12 +125,12 @@ complete (CamelMimeFilter *f, char *in, size_t len, size_t prespace, /* in the case of a canonical eoln */ if (*inptr == '\r' && *(inptr + 1) == '\n') { - *outptr++ = *inptr++; + *outptr++ = (char) *inptr++; (*outlen)++; } if (*inptr == '\n') { - *outptr++ = *inptr++; + *outptr++ = (char) *inptr++; (*outlen)++; } -- cgit v1.2.3