aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-filter-driver.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-07-24 00:59:17 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-07-24 00:59:17 +0800
commit77e62d04c7530b29b1f27c5e0bdfb005dfa16058 (patch)
treea4d55ceb00c19ff3d8428dca2bd2c3092b4b2e08 /camel/camel-filter-driver.c
parenteee25ffcae01288b34ed005e6b1caf3822bca291 (diff)
downloadgsoc2013-evolution-77e62d04c7530b29b1f27c5e0bdfb005dfa16058.tar
gsoc2013-evolution-77e62d04c7530b29b1f27c5e0bdfb005dfa16058.tar.gz
gsoc2013-evolution-77e62d04c7530b29b1f27c5e0bdfb005dfa16058.tar.bz2
gsoc2013-evolution-77e62d04c7530b29b1f27c5e0bdfb005dfa16058.tar.lz
gsoc2013-evolution-77e62d04c7530b29b1f27c5e0bdfb005dfa16058.tar.xz
gsoc2013-evolution-77e62d04c7530b29b1f27c5e0bdfb005dfa16058.tar.zst
gsoc2013-evolution-77e62d04c7530b29b1f27c5e0bdfb005dfa16058.zip
Slight fix for when source == destination (we don't want to do this action
2001-07-23 Jeffrey Stedfast <fejj@ximian.com> * camel-filter-driver.c (do_move): Slight fix for when source == destination (we don't want to do this action because on-demand filtering would then delete the messages it supposedly "moved"). svn path=/trunk/; revision=11304
Diffstat (limited to 'camel/camel-filter-driver.c')
-rw-r--r--camel/camel-filter-driver.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/camel/camel-filter-driver.c b/camel/camel-filter-driver.c
index c77c2d90b2..affc77b858 100644
--- a/camel/camel-filter-driver.c
+++ b/camel/camel-filter-driver.c
@@ -407,6 +407,9 @@ do_move (struct _ESExp *f, int argc, struct _ESExpResult **argv, CamelFilterDriv
if (!outbox)
break;
+ if (outbox == p->source)
+ break;
+
if (p->uid && p->source && camel_folder_has_summary_capability (p->source)) {
GPtrArray *uids;