[evolution-ews/gnome-2-28] Bug #665229 - Blocks creation of a None receiving account
- From: Vibha Yadav <yvibha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-ews/gnome-2-28] Bug #665229 - Blocks creation of a None receiving account
- Date: Fri, 9 Dec 2011 05:46:17 +0000 (UTC)
commit cc8eaeeea1a59cc8bae14686d7c3c4ef65c8a1e5
Author: Milan Crha <mcrha redhat com>
Date: Thu Dec 1 10:52:17 2011 +0100
Bug #665229 - Blocks creation of a None receiving account
.../exchange-ews-account-setup.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/account-setup-eplugin/exchange-ews-account-setup.c b/src/account-setup-eplugin/exchange-ews-account-setup.c
index 6d673d0..89ae9ec 100644
--- a/src/account-setup-eplugin/exchange-ews-account-setup.c
+++ b/src/account-setup-eplugin/exchange-ews-account-setup.c
@@ -313,7 +313,7 @@ org_gnome_exchange_ews_check_options(EPlugin *epl, EConfigHookPageCheckData *dat
url = camel_url_new (e_account_get_string(get_modified_account (target), E_ACCOUNT_SOURCE_URL), NULL);
- if (url && url->protocol && g_ascii_strcasecmp (url->protocol, "ews") != 0)
+ if (!url || !url->protocol || g_ascii_strcasecmp (url->protocol, "ews") != 0)
goto exit;
/* FIXME pageid is not set while editing an account */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]