From b6550c3ad166ba80cd2850b982e7450f6809a5f8 Mon Sep 17 00:00:00 2001 From: Vivek Jain Date: Tue, 16 Aug 2005 04:04:17 +0000 Subject: [PATCH] initialize container_id and assign this a valid value **Fixes #313381 2005-08-16 Vivek Jain * camel-groupwise-folder.c : (groupwise_folder_item_to_msg), initialize container_id and assign this a valid value **Fixes #313381 --- camel/providers/groupwise/ChangeLog | 6 ++++++ camel/providers/groupwise/camel-groupwise-folder.c | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/camel/providers/groupwise/ChangeLog b/camel/providers/groupwise/ChangeLog index 06baeb7..094a470 100644 --- a/camel/providers/groupwise/ChangeLog +++ b/camel/providers/groupwise/ChangeLog @@ -1,3 +1,9 @@ +2005-08-16 Vivek Jain + + * camel-groupwise-folder.c : (groupwise_folder_item_to_msg), + initialize container_id and assign this a valid value + **Fixes #313381 + 2005-08-12 Tor Lillqvist * Makefile.am: Use NO_UNDEFINED. Link with libcamel-provider, diff --git a/camel/providers/groupwise/camel-groupwise-folder.c b/camel/providers/groupwise/camel-groupwise-folder.c index d642e55..757479a 100644 --- a/camel/providers/groupwise/camel-groupwise-folder.c +++ b/camel/providers/groupwise/camel-groupwise-folder.c @@ -1261,7 +1261,7 @@ groupwise_folder_item_to_msg( CamelFolder *folder, CamelMimeMessage *msg = NULL; CamelGroupwiseStore *gw_store = CAMEL_GROUPWISE_STORE(folder->parent_store); CamelGroupwiseStorePrivate *priv = gw_store->priv; - char *container_id; + char *container_id = NULL; GSList *attach_list = NULL; EGwItemType type; EGwConnectionStatus status; @@ -1274,6 +1274,7 @@ groupwise_folder_item_to_msg( CamelFolder *folder, uid = e_gw_item_get_id(item); cnc = cnc_lookup (priv); + container_id = camel_groupwise_store_container_id_lookup (gw_store, folder->full_name); attach_list = e_gw_item_get_attach_id_list (item); if (attach_list) { -- 2.7.4