Use the same command-counter mojo that the append code uses in case the
authorPeter Williams <peterw@ximian.com>
Tue, 30 Jul 2002 17:54:59 +0000 (17:54 +0000)
committerPeter Williams <peterw@src.gnome.org>
Tue, 30 Jul 2002 17:54:59 +0000 (17:54 +0000)
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.

camel/ChangeLog
camel/providers/imap/camel-imap-folder.c

index 93e7d05..b979b84 100644 (file)
@@ -1,3 +1,9 @@
+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.
+
 2002-07-29  Jeffrey Stedfast  <fejj@ximian.com>
 
        * camel-filter-driver.c (unset_flag): New filter action to unset a
@@ -9,6 +15,12 @@
        exists and is a directory, return non-NULL. Missed this before
        which is how we could return NULL even on success. Oops.
 
+2002-07-26  Peter Williams  <peterw@ximian.com>
+
+       * providers/imap/camel-imap-summary.c
+       (camel_imap_summary_add_offline_uncached): The flags'n'tags
+       copy was unnecessary. Removed it.
+
 2002-07-25  Jeffrey Stedfast  <fejj@ximian.com>
 
        If we're gonna do an elite hack, lets do it right.
index 408b1fc..917f8e1 100644 (file)
@@ -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);