aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2011-06-03 19:51:07 +0800
committerMilan Crha <mcrha@redhat.com>2011-06-03 19:51:07 +0800
commitcd691583abd2092f1847119b8d89fc43c742d363 (patch)
tree9f9b96eb47e5a2a6c80cbeed51b7c71025568831 /mail
parentb2b6ba119f5e782bc55b4b39290a23edf19b9a4d (diff)
downloadgsoc2013-evolution-cd691583abd2092f1847119b8d89fc43c742d363.tar
gsoc2013-evolution-cd691583abd2092f1847119b8d89fc43c742d363.tar.gz
gsoc2013-evolution-cd691583abd2092f1847119b8d89fc43c742d363.tar.bz2
gsoc2013-evolution-cd691583abd2092f1847119b8d89fc43c742d363.tar.lz
gsoc2013-evolution-cd691583abd2092f1847119b8d89fc43c742d363.tar.xz
gsoc2013-evolution-cd691583abd2092f1847119b8d89fc43c742d363.tar.zst
gsoc2013-evolution-cd691583abd2092f1847119b8d89fc43c742d363.zip
Bug #651316 - Crash with Outgoing mail filters
Diffstat (limited to 'mail')
-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) {