aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-format-html.c
diff options
context:
space:
mode:
authorSankar P <psankar@novell.com>2008-01-10 17:03:19 +0800
committerSankarasivasubramanian Pasupathilingam <psankar@src.gnome.org>2008-01-10 17:03:19 +0800
commite5cef658e433f10644bbccb74d10e4f1db4e4c24 (patch)
treecb5208732c1be934afbce2e345c3264052888277 /mail/em-format-html.c
parent8bfaf553bc91ca82ee246f5f667616adb1b75f51 (diff)
downloadgsoc2013-evolution-e5cef658e433f10644bbccb74d10e4f1db4e4c24.tar
gsoc2013-evolution-e5cef658e433f10644bbccb74d10e4f1db4e4c24.tar.gz
gsoc2013-evolution-e5cef658e433f10644bbccb74d10e4f1db4e4c24.tar.bz2
gsoc2013-evolution-e5cef658e433f10644bbccb74d10e4f1db4e4c24.tar.lz
gsoc2013-evolution-e5cef658e433f10644bbccb74d10e4f1db4e4c24.tar.xz
gsoc2013-evolution-e5cef658e433f10644bbccb74d10e4f1db4e4c24.tar.zst
gsoc2013-evolution-e5cef658e433f10644bbccb74d10e4f1db4e4c24.zip
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
Diffstat (limited to 'mail/em-format-html.c')
-rw-r--r--mail/em-format-html.c2
1 files changed, 1 insertions, 1 deletions
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;