aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/exchange-operations/exchange-mail-send-options.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/exchange-operations/exchange-mail-send-options.c')
-rw-r--r--plugins/exchange-operations/exchange-mail-send-options.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/exchange-operations/exchange-mail-send-options.c b/plugins/exchange-operations/exchange-mail-send-options.c
index 3fe9d7f4c1..ea06083642 100644
--- a/plugins/exchange-operations/exchange-mail-send-options.c
+++ b/plugins/exchange-operations/exchange-mail-send-options.c
@@ -168,6 +168,9 @@ org_gnome_exchange_send_options (EPlugin *ep, EMEventTargetComposer *target)
char *temp = NULL;
account = e_msg_composer_get_preferred_account (composer);
+ if (!account)
+ return;
+
temp = strstr (account->transport->url, "exchange");
if (!temp) {
return;