aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2011-06-03 19:51:07 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:42:25 +0800
commitef4a4446d04ea736821f0806de2c3de78382292e (patch)
tree279848146cb431004ef5d6f644a342489bc475ce
parent2dc0a29c7a168d7cf026561173443acaf9db8b9b (diff)
downloadgsoc2013-evolution-ef4a4446d04ea736821f0806de2c3de78382292e.tar.gz
gsoc2013-evolution-ef4a4446d04ea736821f0806de2c3de78382292e.tar.zst
gsoc2013-evolution-ef4a4446d04ea736821f0806de2c3de78382292e.zip
Bug #651316 - Crash with Outgoing mail filters
-rw-r--r--mail/e-mail-session-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/e-mail-session-utils.c b/mail/e-mail-session-utils.c
index 573fd5fb18..08270927f4 100644
--- a/mail/e-mail-session-utils.c
+++ b/mail/e-mail-session-utils.c
@@ -771,7 +771,7 @@ e_mail_session_send_to (EMailSession *session,
/* Failure here emits a runtime warning but is non-fatal. */
context->driver = camel_session_get_filter_driver (
CAMEL_SESSION (session), E_FILTER_SOURCE_OUTGOING, &error);
- if (context->driver != NULL)
+ if (context->driver != NULL && get_folder_func)
camel_filter_driver_set_folder_func (
context->driver, get_folder_func, get_folder_data);
if (error != NULL) {