[Commits] messageview.c 1.94.2.234 1.94.2.235

claws at claws-mail.org claws at claws-mail.org
Tue Jul 10 23:13:09 CEST 2012


Update of /home/claws-mail/claws/src
In directory srv:/tmp/cvs-serv27169/src

Modified Files:
      Tag: gtk2
	messageview.c 
Log Message:
2012-07-10 [paul]	3.8.1cvs13

	* src/messageview.c
	* src/common/defs.h
	* src/common/quoted-printable.c
	* src/common/quoted-printable.h
		revert 3.8.1cvs2,3,4,5  because they (somewhere!) cause
		the bug: partial message text loss 

Index: messageview.c
===================================================================
RCS file: /home/claws-mail/claws/src/messageview.c,v
retrieving revision 1.94.2.234
retrieving revision 1.94.2.235
diff -u -d -r1.94.2.234 -r1.94.2.235
--- messageview.c	3 Jul 2012 17:23:00 -0000	1.94.2.234
+++ messageview.c	10 Jul 2012 21:13:07 -0000	1.94.2.235
@@ -988,9 +988,8 @@
 		extract_address(orig_to);
 	}
 	if (msginfo->subject && *(msginfo->subject)) {
-		gint len = strlen(msginfo->subject);
-		enc_sub = g_malloc0(len*8);
-		qp_encode(TRUE, enc_sub, (const guchar *)msginfo->subject, len);
+		enc_sub = g_malloc0(strlen(msginfo->subject)*8);
+		qp_encode_line(enc_sub, (const guchar *)msginfo->subject);
 		g_strstrip(enc_sub);
 	}
 	ok = fprintf(fp,"MIME-Version: 1.0\n"



More information about the Commits mailing list