[dovecot-cvs] dovecot/src/lib-mail message-decoder.c,1.9,1.10

tss at dovecot.org tss at dovecot.org
Wed Apr 4 09:15:33 EEST 2007


Update of /var/lib/cvs/dovecot/src/lib-mail
In directory talvi:/tmp/cvs-serv19303

Modified Files:
	message-decoder.c 
Log Message:
Some data still wasn't uppercased



Index: message-decoder.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-mail/message-decoder.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- message-decoder.c	3 Apr 2007 18:03:55 -0000	1.9
+++ message-decoder.c	4 Apr 2007 06:15:31 -0000	1.10
@@ -303,7 +303,14 @@
 		ctx->encoding_size = 0;
 	}
 
-	if (ctx->charset_utf8 || ctx->charset_trans == NULL) {
+	if (ctx->charset_utf8) {
+#if 0
+		buffer_set_used_size(ctx->buf2, 0);
+		_charset_utf8_ucase(data, size, ctx->buf2, ctx->buf2->used);
+		output->data = ctx->buf2->data;
+		output->size = ctx->buf2->used;
+	} else if (ctx->charset_trans == NULL) {
+#endif
 		output->data = data;
 		output->size = size;
 	} else {



More information about the dovecot-cvs mailing list