diff options
author | Milan Crha <mcrha@redhat.com> | 2011-06-03 19:51:07 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2011-06-03 19:51:07 +0800 |
commit | cd691583abd2092f1847119b8d89fc43c742d363 (patch) | |
tree | 9f9b96eb47e5a2a6c80cbeed51b7c71025568831 /mail/e-mail-session-utils.c | |
parent | b2b6ba119f5e782bc55b4b39290a23edf19b9a4d (diff) | |
download | gsoc2013-evolution-cd691583abd2092f1847119b8d89fc43c742d363.tar.gz gsoc2013-evolution-cd691583abd2092f1847119b8d89fc43c742d363.tar.zst gsoc2013-evolution-cd691583abd2092f1847119b8d89fc43c742d363.zip |
Bug #651316 - Crash with Outgoing mail filters
Diffstat (limited to 'mail/e-mail-session-utils.c')
-rw-r--r-- | mail/e-mail-session-utils.c | 2 |
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) { |