aboutsummaryrefslogtreecommitdiffstats
path: root/camel
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
parenteee25ffcae01288b34ed005e6b1caf3822bca291 (diff)
downloadgsoc2013-evolution-77e62d04c7530b29b1f27c5e0bdfb005dfa16058.tar.gz
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')
-rw-r--r--camel/ChangeLog6
-rw-r--r--camel/camel-filter-driver.c3
2 files changed, 9 insertions, 0 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 75cc35ee97..63601069f2 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,9 @@
+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").
+
2001-07-23 Not Zed <NotZed@Ximian.com>
* providers/smtp/camel-smtp-transport.c (smtp_auth, smtp_helo,
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;