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/ChangeLog | 12 ++++++++++++ camel/providers/imap/camel-imap-folder.c | 3 ++- 2 files changed, 14 insertions(+), 1 deletion(-) (limited to 'camel') 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 + + * 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 * 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 + + * 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 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); -- cgit v1.2.3