[evolution-mapi] BUGFIX 592297: Contacts don't get downloaded



commit 80f88f650fcf4b9a1ad7a7c860670365f9cdeb5c
Author: Bharath Acharya <abharath novell com>
Date:   Tue Nov 24 12:14:33 2009 +0530

    BUGFIX 592297: Contacts don't get downloaded
    
    Use the password while authenticating and creating a MAPI connection

 src/addressbook/e-book-backend-mapi-gal.c |    2 +-
 src/addressbook/e-book-backend-mapi.c     |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/addressbook/e-book-backend-mapi-gal.c b/src/addressbook/e-book-backend-mapi-gal.c
index a6e208c..d45110e 100644
--- a/src/addressbook/e-book-backend-mapi-gal.c
+++ b/src/addressbook/e-book-backend-mapi-gal.c
@@ -236,7 +236,7 @@ e_book_backend_mapi_gal_authenticate_user (EBookBackend *backend,
 		
 	case GNOME_Evolution_Addressbook_MODE_REMOTE:
 		
-		if (!exchange_mapi_connection_new (priv->profile, NULL))
+		if (!exchange_mapi_connection_new (priv->profile, passwd))
 			return e_data_book_respond_authenticate_user (book, opid,GNOME_Evolution_Addressbook_OtherError);
 
 		if (priv->cache && priv->is_cache_ready) {
diff --git a/src/addressbook/e-book-backend-mapi.c b/src/addressbook/e-book-backend-mapi.c
index f83f323..f535407 100644
--- a/src/addressbook/e-book-backend-mapi.c
+++ b/src/addressbook/e-book-backend-mapi.c
@@ -1529,7 +1529,7 @@ e_book_backend_mapi_authenticate_user (EBookBackend *backend,
 		
 	case GNOME_Evolution_Addressbook_MODE_REMOTE:
 		
-		if (!exchange_mapi_connection_new (priv->profile, NULL))
+		if (!exchange_mapi_connection_new (priv->profile, passwd))
 			return e_data_book_respond_authenticate_user (book, opid,GNOME_Evolution_Addressbook_OtherError);
 
 		if (priv->cache && priv->is_cache_ready) {
@@ -1685,7 +1685,7 @@ e_book_backend_mapi_remove (EBookBackend *backend,
 }
 
 static void 
-e_book_backend_mapi_set_mode (EBookBackend *backend, int mode)
+e_book_backend_mapi_set_mode (EBookBackend *backend, GNOME_Evolution_Addressbook_BookMode mode)
 {
 	EBookBackendMAPIPrivate *priv = ((EBookBackendMAPI *) backend)->priv;
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]