[evolution-ews/gnome-2-28] Fixing an error in previous patch applied
- From: Punit Jain <jpunit src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-ews/gnome-2-28] Fixing an error in previous patch applied
- Date: Tue, 13 Mar 2012 12:02:33 +0000 (UTC)
commit dd1f6bfffdf5dcf21dd0bfd8a0182c696aa82928
Author: Punit Jain <jpunit novell com>
Date: Tue Mar 13 17:41:11 2012 +0530
Fixing an error in previous patch applied
.../exchange-ews-account-setup.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/src/account-setup-eplugin/exchange-ews-account-setup.c b/src/account-setup-eplugin/exchange-ews-account-setup.c
index a1b9eb7..ac0ed93 100644
--- a/src/account-setup-eplugin/exchange-ews-account-setup.c
+++ b/src/account-setup-eplugin/exchange-ews-account-setup.c
@@ -169,20 +169,18 @@ validate_credentials (GtkWidget *widget, struct _AutoDiscCallBackData *cbdata)
{
EConfig *config = cbdata->config;
EMConfigTargetAccount *target_account = (EMConfigTargetAccount *)(config->target);
- gchar *password = NULL, *url_str = NULL;
+ gchar *password = NULL;
CamelURL *url=NULL;
password = get_password (target_account);
/*Can there be a account without password ?*/
if (password && *password) {
url = camel_url_new (e_account_get_string (get_modified_account (target_account), E_ACCOUNT_SOURCE_URL), NULL);
- url_str = camel_url_to_string (url, 0);
e_ews_autodiscover_ws_url (autodiscover_callback, cbdata,
(get_modified_account (target_account))->id->address,
password,
- url_str,
+ camel_url_get_param (url, "hosturl"),
url->user);
- g_free (url_str);
camel_url_free (url);
}
g_free (password);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]