evolution-mapi r24 - trunk/src/camel
- From: jjohnny svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution-mapi r24 - trunk/src/camel
- Date: Tue, 9 Dec 2008 10:59:46 +0000 (UTC)
Author: jjohnny
Date: Tue Dec 9 10:59:46 2008
New Revision: 24
URL: http://svn.gnome.org/viewvc/evolution-mapi?rev=24&view=rev
Log:
camel : fixes BGO #561792. Junk characters appearing at the end.
Modified:
trunk/src/camel/ChangeLog
trunk/src/camel/camel-mapi-folder.c
Modified: trunk/src/camel/camel-mapi-folder.c
==============================================================================
--- trunk/src/camel/camel-mapi-folder.c (original)
+++ trunk/src/camel/camel-mapi-folder.c Tue Dec 9 10:59:46 2008
@@ -1017,7 +1017,8 @@
type = (body->proptag == PR_BODY || body->proptag == PR_BODY_UNICODE) ?
"text/plain" : "text/html";
- camel_mime_part_set_content(part, body->value->data, body->value->len, type );
+ /*NOTE : Last byte null mess up CRLF*. Probably needs a fix in e*fetch_items. */
+ camel_mime_part_set_content(part, body->value->data, body->value->len - 1, type );
}
} else
camel_mime_part_set_content(part, " ", strlen(" "), "text/html");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]