[evolution-mapi] BUGFIX 594345: Cannot create a new account.



commit 562b37c5f13eb7b99682360bc167b312268fd40c
Author: Bharath Acharya <abharath novell com>
Date:   Mon Sep 7 11:50:07 2009 +0530

    BUGFIX 594345: Cannot create a new account.
    
    Do not set to the default profile when we have a valid profile name.

 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 547199d..900d736 100644
--- a/src/libexchangemapi/exchange-mapi-connection.c
+++ b/src/libexchangemapi/exchange-mapi-connection.c
@@ -106,8 +106,8 @@ mapi_profile_load (const char *profname, const char *password)
 			mapi_errstr("GetDefaultProfile", GetLastError());
 			goto cleanup;
 		}
+		profile = default_profile_name;
 	}
-	profile = default_profile_name;
 	g_print("\nLoading profile %s ", profile);
 
 	retval = MapiLogonEx(&session, profile, password);



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