From 73f27c89bc2085970de8ee2ec7e3366968d75065 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Thu, 16 Aug 2007 07:08:08 +0000 Subject: 2007-08-16 mcrha Fix for bug #466548 svn path=/trunk/; revision=34010 --- plugins/exchange-operations/ChangeLog | 7 +++++++ plugins/exchange-operations/exchange-mail-send-options.c | 3 +++ 2 files changed, 10 insertions(+) (limited to 'plugins/exchange-operations') diff --git a/plugins/exchange-operations/ChangeLog b/plugins/exchange-operations/ChangeLog index 46acbd6f45..a1733348b4 100644 --- a/plugins/exchange-operations/ChangeLog +++ b/plugins/exchange-operations/ChangeLog @@ -1,3 +1,10 @@ +2007-08-16 Milan Crha + + ** Fix for bug #466548 + + * exchange-mail-send-options.c: (org_gnome_exchange_send_options): + e_msg_composer_get_preferred_account can return NULL, so test for it. + 2007-08-10 Milan Crha ** Fix for bug #327977 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; -- cgit v1.2.3