From 05e4067b622c3548db76c04c4dfbf0ef340800e7 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Thu, 12 Jul 2001 02:22:23 +0000 Subject: Removed some code i wasn't supposed to commit. 2001-07-12 Not Zed * camel-folder-summary.c (camel_folder_summary_info_new_from_message): Removed some code i wasn't supposed to commit. * providers/local/camel-local-summary.c (local_summary_add): Only set info->size if it is not zero. (local_summary_add): If we dont get a size from the info passed in, calculate it using a null stream write. Should do #4392. svn path=/trunk/; revision=11025 --- camel/camel-folder-summary.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'camel/camel-folder-summary.c') diff --git a/camel/camel-folder-summary.c b/camel/camel-folder-summary.c index 2e2d66d062..120d927766 100644 --- a/camel/camel-folder-summary.c +++ b/camel/camel-folder-summary.c @@ -870,7 +870,6 @@ CamelMessageInfo *camel_folder_summary_info_new_from_message(CamelFolderSummary { CamelMessageInfo *info; struct _CamelFolderSummaryPrivate *p = _PRIVATE(s); - CamelStreamNull *sn; info = ((CamelFolderSummaryClass *)(CAMEL_OBJECT_GET_CLASS(s)))->message_info_new_from_message(s, msg); @@ -884,10 +883,6 @@ CamelMessageInfo *camel_folder_summary_info_new_from_message(CamelFolderSummary } info->content = summary_build_content_info_message(s, info, (CamelMimePart *)msg); -#if 0 - sn = camel_stream_null_new(); - camel_data_wrapper_write_to_stream((CamelDataWrapper *)msg, sn); -#endif return info; } -- cgit v1.2.3