[evolution-mapi] BUGFIX 590000:GAL doesn't fetch email ids properly
- From: Bharath Acharya <abharath src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [evolution-mapi] BUGFIX 590000:GAL doesn't fetch email ids properly
- Date: Mon, 7 Sep 2009 04:29:50 +0000 (UTC)
commit 4ee5b68652eee2bd889fd31a2840306deb170cc9
Author: Bharath Acharya <abharath novell com>
Date: Mon Sep 7 09:58:41 2009 +0530
BUGFIX 590000:GAL doesn't fetch email ids properly
PR_SMTP_ADDRESS_UNICODE is the one we need
src/libexchangemapi/exchange-mapi-connection.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/libexchangemapi/exchange-mapi-connection.c b/src/libexchangemapi/exchange-mapi-connection.c
index 36e212f..547199d 100644
--- a/src/libexchangemapi/exchange-mapi-connection.c
+++ b/src/libexchangemapi/exchange-mapi-connection.c
@@ -724,7 +724,7 @@ mapidump_PAB_gal_entry (struct SRow *aRow)
addrtype = (const char *)find_SPropValue_data(aRow, PR_ADDRTYPE_UNICODE);
name = (const char *)find_SPropValue_data(aRow, PR_DISPLAY_NAME_UNICODE);
- email = (const char *)find_SPropValue_data(aRow, PR_EMAIL_ADDRESS_UNICODE);
+ email = (const char *)find_SPropValue_data(aRow, PR_SMTP_ADDRESS_UNICODE);
account = (const char *)find_SPropValue_data(aRow, PR_ACCOUNT_UNICODE);
printf("[%s] %s:\n\tName: %-25s\n\tEmail: %-25s\n",
@@ -754,7 +754,7 @@ exchange_mapi_util_get_gal (GPtrArray *contacts_array)
PR_INSTANCE_KEY,
PR_ENTRYID,
PR_DISPLAY_NAME_UNICODE,
- PR_EMAIL_ADDRESS_UNICODE,
+ PR_SMTP_ADDRESS_UNICODE,
PR_DISPLAY_TYPE,
PR_OBJECT_TYPE,
PR_ADDRTYPE_UNICODE,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]