aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers
diff options
context:
space:
mode:
authorPeter Williams <peterw@ximian.com>2002-07-31 01:54:59 +0800
committerPeter Williams <peterw@src.gnome.org>2002-07-31 01:54:59 +0800
commitedc715415f16324b248eca2067d2700042a27ed4 (patch)
tree2ce25232b6d41fcc2c58ccc10c97aeafa996e838 /camel/providers
parent432ddb8b6850277ca5eab615bbcf3bb8912bc7c1 (diff)
downloadgsoc2013-evolution-edc715415f16324b248eca2067d2700042a27ed4.tar.gz
gsoc2013-evolution-edc715415f16324b248eca2067d2700042a27ed4.tar.zst
gsoc2013-evolution-edc715415f16324b248eca2067d2700042a27ed4.zip
Use the same command-counter mojo that the append code uses in case the
2002-07-30 Peter Williams <peterw@ximian.com> * providers/imap/camel-imap-folder.c (imap_transfer_offline): Use the same command-counter mojo that the append code uses in case the use tries to copy the same message to the folder repeatedly. svn path=/trunk/; revision=17641
Diffstat (limited to 'camel/providers')
-rw-r--r--camel/providers/imap/camel-imap-folder.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/camel/providers/imap/camel-imap-folder.c b/camel/providers/imap/camel-imap-folder.c
index 408b1fcc24..917f8e1bb0 100644
--- a/camel/providers/imap/camel-imap-folder.c
+++ b/camel/providers/imap/camel-imap-folder.c
@@ -1264,7 +1264,8 @@ imap_transfer_offline (CamelFolder *source, GPtrArray *uids,
for (i = 0; i < uids->len; i++) {
uid = uids->pdata[i];
- destuid = g_strdup_printf ("copy-%s:%s", source->full_name, uid);
+ destuid = g_strdup_printf ("copy-%s:%s:%d", source->full_name, uid,
+ store->command++);
mi = camel_folder_summary_uid (source->summary, uid);
g_return_if_fail (mi != NULL);