PATCH: Small bug fix for camel-mime-utils.c

Philip Van Hoof <[email protected]> Wed, 16 Jan 2008 20:17:28 +0100
Newsgroups gmane.comp.gnome.evolution.patches
Message-ID <1200511048.8380.34.camel@schtrumpf>
--=-zvIt6Jexnig2A59q5onH
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Please review

-- 
Philip Van Hoof, freelance software developer
home: me at pvanhoof dot be 
gnome: pvanhoof at gnome dot org 
http://pvanhoof.be/blog
http://codeminded.be




--=-zvIt6Jexnig2A59q5onH
Content-Disposition: attachment; filename=camel-mime-utils.diff
Content-Type: text/x-patch; name=camel-mime-utils.diff; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Index: camel-mime-utils.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- camel-mime-utils.c	(revision 8380)
+++ camel-mime-utils.c	(working copy)
@@ -920,7 +920,7 @@
 		charsets[i++] =3D default_charset;
 =09
 	locale_charset =3D e_iconv_locale_charset ();
-	if (g_ascii_strcasecmp (locale_charset, "UTF-8") !=3D 0)
+	if (locale_charset && g_ascii_strcasecmp (locale_charset, "UTF-8") !=3D=
 0)
 		charsets[i++] =3D locale_charset;
 =09
 	min =3D len;
Index: ChangeLog
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- ChangeLog	(revision 8380)
+++ ChangeLog	(working copy)
@@ -1,3 +1,7 @@
+2008-01-18  Philip Van Hoof  <[email protected]>
+
+	* camel-mime-utils.c: Small bug fix
+
 2008-01-16  =C3=98ystein Gisn=C3=A5s  <[email protected]>
=20
 	** Fix for bug #300098

--=-zvIt6Jexnig2A59q5onH
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Evolution-patches mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/evolution-patches

--=-zvIt6Jexnig2A59q5onH--