[evolution-mapi] Bug #640584 - Crash if mailbox size property is missing
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-mapi] Bug #640584 - Crash if mailbox size property is missing
- Date: Thu, 27 Jan 2011 16:20:33 +0000 (UTC)
commit 0acd0e3645307b6788f4db852c96377c5a7d904c
Author: Jelmer Vernooij <jelmer samba org>
Date: Thu Jan 27 17:19:59 2011 +0100
Bug #640584 - Crash if mailbox size property is missing
src/libexchangemapi/exchange-mapi-connection.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libexchangemapi/exchange-mapi-connection.c b/src/libexchangemapi/exchange-mapi-connection.c
index f2bae32..b95b2f4 100644
--- a/src/libexchangemapi/exchange-mapi-connection.c
+++ b/src/libexchangemapi/exchange-mapi-connection.c
@@ -3290,7 +3290,7 @@ exchange_mapi_connection_get_folders_list (ExchangeMapiConnection *conn, GSList
MAPI_PERSONAL_FOLDER, mailbox_id, 0, 0, 0 ,0);
folder->is_default = true;
folder->default_type = olFolderTopInformationStore; /*Is this correct ?*/
- folder->size = *mailbox_size;
+ folder->size = mailbox_size ? *mailbox_size : 0;
*mapi_folders = g_slist_prepend (*mapi_folders, folder);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]