From e5cef658e433f10644bbccb74d10e4f1db4e4c24 Mon Sep 17 00:00:00 2001 From: Sankar P Date: Thu, 10 Jan 2008 09:03:19 +0000 Subject: Decode the right thingy. Fixes a regression in decoding of face header 2008-01-10 Sankar P * 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 --- mail/ChangeLog | 7 +++++++ mail/em-format-html.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) (limited to 'mail') diff --git a/mail/ChangeLog b/mail/ChangeLog index 38b2853ecd..89f075fe98 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,10 @@ +2008-01-10 Sankar P + + * 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 ** Fix for bug #309432 diff --git a/mail/em-format-html.c b/mail/em-format-html.c index c272fd6d78..138768cd67 100644 --- a/mail/em-format-html.c +++ b/mail/em-format-html.c @@ -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; -- cgit v1.2.3