[evolution/gnome-3-0] Bug #651316 - Crash with Outgoing mail filters
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/gnome-3-0] Bug #651316 - Crash with Outgoing mail filters
- Date: Fri, 3 Jun 2011 11:51:53 +0000 (UTC)
commit 62acb05a3793d6fba8bc0f972e17da990d5a92d6
Author: Milan Crha <mcrha redhat com>
Date: Fri Jun 3 13:51:28 2011 +0200
Bug #651316 - Crash with Outgoing mail filters
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 a16de66..2279902 100644
--- a/mail/e-mail-session-utils.c
+++ b/mail/e-mail-session-utils.c
@@ -765,7 +765,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) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]