[evolution-patches] fix for bug #33545, X-Evolution-Source header mangled



http://bugzilla.ximian.com/show_bug.cgi?id=33545

turns out we were just forgetting to flush the iconv conversion.

simple fix

Jeff

-- 
Jeffrey Stedfast
Evolution Hacker - Ximian, Inc.
fejj ximian com  - www.ximian.com
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/camel/ChangeLog,v
retrieving revision 1.1836.2.13
diff -u -r1.1836.2.13 ChangeLog
--- ChangeLog	8 Sep 2003 21:33:34 -0000	1.1836.2.13
+++ ChangeLog	23 Sep 2003 18:37:54 -0000
@@ -1,3 +1,8 @@
+2003-09-23  Jeffrey Stedfast  <fejj ximian com>
+
+	* camel-mime-utils.c (append_8bit): Don't forget to flush the
+	iconv conversion.
+
 2003-09-08  Rodney Dawes  <dobey ixmian com>
 
 	* camel-service.c: #include sys/types.h and sys/time.h, fixes
Index: camel-mime-utils.c
===================================================================
RCS file: /cvs/gnome/evolution/camel/camel-mime-utils.c,v
retrieving revision 1.183.4.3
diff -u -r1.183.4.3 camel-mime-utils.c
--- camel-mime-utils.c	29 Jul 2003 13:53:29 -0000	1.183.4.3
+++ camel-mime-utils.c	23 Sep 2003 18:37:57 -0000
@@ -1132,7 +1132,9 @@
 		e_iconv_close (ic);
 		return FALSE;
 	}
-
+	
+	e_iconv (ic, NULL, NULL, &outbuf, &outlen);
+	
 	*outbuf = 0;
 	g_string_append(out, outbase);
 	g_free(outbase);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]