aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-04-22 12:27:19 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-04-22 12:27:19 +0800
commit0be2584d03e5b40a41d23e68d6ebaed94a1a53e0 (patch)
tree2dda781276266a47ffb53c4eff5b88cb14ff6716 /camel/providers
parent3a33b10b205b720d777111ace622e77ef63901b3 (diff)
downloadgsoc2013-evolution-0be2584d03e5b40a41d23e68d6ebaed94a1a53e0.tar
gsoc2013-evolution-0be2584d03e5b40a41d23e68d6ebaed94a1a53e0.tar.gz
gsoc2013-evolution-0be2584d03e5b40a41d23e68d6ebaed94a1a53e0.tar.bz2
gsoc2013-evolution-0be2584d03e5b40a41d23e68d6ebaed94a1a53e0.tar.lz
gsoc2013-evolution-0be2584d03e5b40a41d23e68d6ebaed94a1a53e0.tar.xz
gsoc2013-evolution-0be2584d03e5b40a41d23e68d6ebaed94a1a53e0.tar.zst
gsoc2013-evolution-0be2584d03e5b40a41d23e68d6ebaed94a1a53e0.zip
Send a flag list rather than \Deleted by itself. See #57381.
2004-04-22 Not Zed <NotZed@Ximian.com> * providers/imap/camel-imap-folder.c (imap_expunge_uids_online) (imap_expunge_uids_resyncing): Send a flag list rather than \Deleted by itself. See #57381. svn path=/trunk/; revision=25574
Diffstat (limited to 'camel/providers')
-rw-r--r--camel/providers/imap/camel-imap-folder.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/camel/providers/imap/camel-imap-folder.c b/camel/providers/imap/camel-imap-folder.c
index e77d712529..38a4c38808 100644
--- a/camel/providers/imap/camel-imap-folder.c
+++ b/camel/providers/imap/camel-imap-folder.c
@@ -910,7 +910,7 @@ imap_expunge_uids_online (CamelFolder *folder, GPtrArray *uids, CamelException *
while (uid < uids->len) {
set = imap_uid_array_to_set (folder->summary, uids, uid, UID_SET_LIMIT, &uid);
response = camel_imap_command (store, folder, ex,
- "UID STORE %s +FLAGS.SILENT \\Deleted",
+ "UID STORE %s +FLAGS.SILENT (\\Deleted)",
set);
if (response)
camel_imap_response_free (store, response);
@@ -1024,7 +1024,7 @@ imap_expunge_uids_resyncing (CamelFolder *folder, GPtrArray *uids, CamelExceptio
uidset = imap_uid_array_to_set (folder->summary, keep_uids, uid, UID_SET_LIMIT, &uid);
response = camel_imap_command (store, folder, ex,
- "UID STORE %s -FLAGS.SILENT \\Deleted",
+ "UID STORE %s -FLAGS.SILENT (\\Deleted)",
uidset);
g_free (uidset);
@@ -1048,7 +1048,7 @@ imap_expunge_uids_resyncing (CamelFolder *folder, GPtrArray *uids, CamelExceptio
uidset = imap_uid_array_to_set (folder->summary, mark_uids, uid, UID_SET_LIMIT, &uid);
response = camel_imap_command (store, folder, ex,
- "UID STORE %s +FLAGS.SILENT \\Deleted",
+ "UID STORE %s +FLAGS.SILENT (\\Deleted)",
uidset);
g_free (uidset);
@@ -1082,7 +1082,7 @@ imap_expunge_uids_resyncing (CamelFolder *folder, GPtrArray *uids, CamelExceptio
/* Don't pass ex if it's already been set */
response = camel_imap_command (store, folder,
camel_exception_is_set (ex) ? NULL : ex,
- "UID STORE %s +FLAGS.SILENT \\Deleted",
+ "UID STORE %s +FLAGS.SILENT (\\Deleted)",
uidset);
g_free (uidset);