aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--camel/ChangeLog12
-rw-r--r--camel/providers/imap/camel-imap-folder.c3
2 files changed, 14 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 93e7d05792..b979b8466e 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -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.
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);