[evolution-mapi] ** Fixes Bug 585972 - EDS crash : trying to create meeting with attachment
- From: Bharath Acharya <abharath src gnome org>
- To: svn-commits-list gnome org
- Subject: [evolution-mapi] ** Fixes Bug 585972 - EDS crash : trying to create meeting with attachment
- Date: Wed, 15 Jul 2009 03:45:55 +0000 (UTC)
commit 742d10f33479623241d36027d3f651dffe0db5a7
Author: Bharath Acharya <abharath novell com>
Date: Wed Jul 15 09:14:32 2009 +0530
** Fixes Bug 585972 - EDS crash : trying to create meeting with attachment
* src/libexchangemapi/exchange-mapi-cal-utils.c: The filename has to
be included from the date format instead of fetching the basename of
the file alone.
src/libexchangemapi/ChangeLog | 8 ++++++++
src/libexchangemapi/exchange-mapi-cal-utils.c | 2 +-
2 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/src/libexchangemapi/ChangeLog b/src/libexchangemapi/ChangeLog
index afa11c2..20a6353 100644
--- a/src/libexchangemapi/ChangeLog
+++ b/src/libexchangemapi/ChangeLog
@@ -1,3 +1,11 @@
+2009-07-15 Bharath Acharya <abharath novell com>
+
+ ** Fixes Bug 585972 - EDS crash : trying to create meeting with attachment
+
+ * src/libexchangemapi/exchange-mapi-cal-utils.c: The filename has to
+ be included from the date format instead of fetching the basename of
+ the file alone.
+
2009-06-22 Johnny Jacob <jjohnny novell com>
** Fixes Bug 585641 â?? evolution-mapi stores cleartext passwords in a world readable file
diff --git a/src/libexchangemapi/exchange-mapi-cal-utils.c b/src/libexchangemapi/exchange-mapi-cal-utils.c
index 75e952d..c089c2e 100644
--- a/src/libexchangemapi/exchange-mapi-cal-utils.c
+++ b/src/libexchangemapi/exchange-mapi-cal-utils.c
@@ -214,7 +214,7 @@ exchange_mapi_cal_util_fetch_attachments (ECalComponent *comp, GSList **attach_l
sfname = g_filename_from_uri (sfname_uri, NULL, NULL);
mapped_file = g_mapped_file_new (sfname, FALSE, &error);
- filename = g_path_get_basename (sfname);
+ filename = g_strdup (g_strrstr (sfname, uid));
if (mapped_file && g_str_has_prefix (filename, uid)) {
ExchangeMAPIAttachment *attach_item;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]