aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-filter-driver.c
diff options
context:
space:
mode:
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;