From edc715415f16324b248eca2067d2700042a27ed4 Mon Sep 17 00:00:00 2001 From: Peter Williams Date: Tue, 30 Jul 2002 17:54:59 +0000 Subject: Use the same command-counter mojo that the append code uses in case the 2002-07-30 Peter Williams * 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 --- camel/providers/imap/camel-imap-folder.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'camel/providers/imap') 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); -- cgit v1.2.3