evolution-data-server r9064 - branches/EXCHANGE_MAPI_BRANCH/camel/providers/mapi
- From: jjohnny svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution-data-server r9064 - branches/EXCHANGE_MAPI_BRANCH/camel/providers/mapi
- Date: Mon, 30 Jun 2008 05:41:44 +0000 (UTC)
Author: jjohnny
Date: Mon Jun 30 05:41:44 2008
New Revision: 9064
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=9064&view=rev
Log:
camel-mapi-folder.c (fetch_item_cb, mapi_folder_get_message): Adjusted mem allocation for MapiItem for FetchCallback signature change
Modified:
branches/EXCHANGE_MAPI_BRANCH/camel/providers/mapi/ChangeLog
branches/EXCHANGE_MAPI_BRANCH/camel/providers/mapi/camel-mapi-folder.c
Modified: branches/EXCHANGE_MAPI_BRANCH/camel/providers/mapi/camel-mapi-folder.c
==============================================================================
--- branches/EXCHANGE_MAPI_BRANCH/camel/providers/mapi/camel-mapi-folder.c (original)
+++ branches/EXCHANGE_MAPI_BRANCH/camel/providers/mapi/camel-mapi-folder.c Mon Jun 30 05:41:44 2008
@@ -582,7 +582,7 @@
struct FILETIME *delivery_date;
NTTIME ntdate;
- MapiItem *item = g_new0(MapiItem , 1);
+ MapiItem *item = data;
item->fid = fid;
item->mid = mid;
@@ -615,7 +615,6 @@
printf("%s(%d):%s:Number of Attachments : %d \n", __FILE__, __LINE__, __PRETTY_FUNCTION__, g_slist_length (attachments));
item->attachments = attachments;
- data = item;
return TRUE;
}
@@ -852,7 +851,7 @@
mapi_id_t id_folder;
mapi_id_t id_message;
- MapiItem *item = NULL;
+ MapiItem *item = g_new0(MapiItem , 1);
exchange_mapi_util_mapi_ids_from_uid (uid, &id_folder, &id_message);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]