aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-folder-summary.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-03-17 17:23:49 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-03-17 17:23:49 +0800
commitbc5fc28e5b2e3602b186ee430d45c48c919ae9da (patch)
treeaac73e0cd1cac5beaf610e49773fd4fac98a4a5f /camel/camel-folder-summary.c
parentcf4811b131d3d791da98de338a477a452663d183 (diff)
downloadgsoc2013-evolution-bc5fc28e5b2e3602b186ee430d45c48c919ae9da.tar.gz
gsoc2013-evolution-bc5fc28e5b2e3602b186ee430d45c48c919ae9da.tar.zst
gsoc2013-evolution-bc5fc28e5b2e3602b186ee430d45c48c919ae9da.zip
See bug #55618.
2004-03-17 Not Zed <NotZed@Ximian.com> * See bug #55618. * camel-disco-diary.c (camel_disco_diary_new): seek to the end of the file after we open it. c99 apparently says the file merely adds to the end of the file when you write, not that it is opened and positioned at the end of the file (linux's man pages are out of date). * camel-folder-summary.c (content_info_new): setup the content type as well, from the headers. * providers/imap/camel-imap-summary.c (camel_imap_summary_add_offline): copy size from the source info. svn path=/trunk/; revision=25096
Diffstat (limited to 'camel/camel-folder-summary.c')
-rw-r--r--camel/camel-folder-summary.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/camel/camel-folder-summary.c b/camel/camel-folder-summary.c
index fec5c67a86..2ecf0a2603 100644
--- a/camel/camel-folder-summary.c
+++ b/camel/camel-folder-summary.c
@@ -1914,7 +1914,8 @@ content_info_new (CamelFolderSummary *s, struct _camel_header_raw *h)
ci->id = camel_header_msgid_decode (camel_header_raw_find (&h, "content-id", NULL));
ci->description = camel_header_decode_string (camel_header_raw_find (&h, "content-description", NULL), NULL);
ci->encoding = camel_content_transfer_encoding_decode (camel_header_raw_find (&h, "content-transfer-encoding", NULL));
-
+ ci->type = camel_content_type_decode(camel_header_raw_find(&h, "content-type", NULL));
+
return ci;
}