aboutsummaryrefslogtreecommitdiffstats
path: root/filter/filter-driver.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@helixcode.com>2000-09-08 04:38:32 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2000-09-08 04:38:32 +0800
commit58eb7bf31c146cb0fcf3a08062d9920f92c04674 (patch)
tree4e0606d53a606da827d101d550b4d025ec009b5b /filter/filter-driver.c
parent1b3a2114eed8a2d2fee8fa0ad3056d5685730c25 (diff)
downloadgsoc2013-evolution-58eb7bf31c146cb0fcf3a08062d9920f92c04674.tar.gz
gsoc2013-evolution-58eb7bf31c146cb0fcf3a08062d9920f92c04674.tar.zst
gsoc2013-evolution-58eb7bf31c146cb0fcf3a08062d9920f92c04674.zip
Rewrote - this shouldn't need to be an async function
2000-09-07 Jeffrey Stedfast <fejj@helixcode.com> * filter-driver.c (filter_driver_run): Rewrote - this shouldn't need to be an async function * filter-message-search.c (match_all): Modified to look at the boolean value being fed to it and just to return that instead of always returning TRUE svn path=/trunk/; revision=5241
Diffstat (limited to 'filter/filter-driver.c')
-rw-r--r--filter/filter-driver.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/filter/filter-driver.c b/filter/filter-driver.c
index cc1d08863b..0108ed02c6 100644
--- a/filter/filter-driver.c
+++ b/filter/filter-driver.c
@@ -374,9 +374,10 @@ free_key (gpointer key, gpointer value, gpointer user_data)
#endif
void
-filter_driver_run (FilterDriver *driver, CamelMimeMessage *message, CamelFolder *inbox,
- enum _filter_source_t sourcetype, gboolean self_destruct,
- gpointer unhook_func, gpointer unhook_data)
+filter_driver_run (FilterDriver *driver, CamelMimeMessage *message,
+ CamelFolder *inbox, enum _filter_source_t sourcetype,
+ gpointer unhook_func, gpointer unhook_data,
+ gboolean self_destruct, CamelException *ex)
{
struct _FilterDriverPrivate *p = _PRIVATE (driver);
ESExpResult *r;
@@ -464,6 +465,9 @@ filter_driver_run (FilterDriver *driver, CamelMimeMessage *message, CamelFolder
camel_folder_thaw (inbox);
mail_tool_camel_lock_down ();
+ /* transfer the exception over to the parents exception */
+ if (camel_exception_is_set (p->ex))
+ camel_exception_xfer (ex, p->ex);
camel_exception_free (p->ex);
camel_object_unref (CAMEL_OBJECT (message));