Decode the right thingy. Fixes a regression in decoding of face header

2008-01-10  Sankar P  <psankar@novell.com>

	* em-format-html.c: (efh_format_headers):
	Decode the right thingy. Fixes a regression in
	decoding of face header introduced while migration of
	camel_* functions to g_* functions.



svn path=/trunk/; revision=34786
This commit is contained in:
Sankar P
2008-01-10 09:03:19 +00:00
committed by Sankarasivasubramanian Pasupathilingam
parent 8bfaf553bc
commit e5cef658e4
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2008-01-10 Sankar P <psankar@novell.com>
* em-format-html.c: (efh_format_headers):
Decode the right thingy. Fixes a regression in
decoding of face header introduced while migration of
camel_* functions to g_* functions.
2008-01-08 Djihed Afifi <djihed@gmail.com>
** Fix for bug #309432

View File

@ -1910,7 +1910,7 @@ efh_format_headers(EMFormatHTML *efh, CamelStream *stream, CamelMedium *part)
gchar *cp;
/* Skip over spaces */
for (cp = header->name; *cp == ' '; cp++);
for (cp = header->value; *cp == ' '; cp++);
face_header_value = g_base64_decode (cp, &face_header_len);
face_header_value = g_realloc (face_header_value, face_header_len + 1);
face_header_value[face_header_len] = 0;