aboutsummaryrefslogtreecommitdiffstats
path: root/imap.c
diff options
context:
space:
mode:
Diffstat (limited to 'imap.c')
-rw-r--r--imap.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/imap.c b/imap.c
index f6a68ea9..d1ebe156 100644
--- a/imap.c
+++ b/imap.c
@@ -259,9 +259,12 @@ static int imap_delete(FILE *sockfp, struct query *ctl, int number)
/* expunges change the fetch numbers */
number -= deletecount;
- /* use SILENT if possible as a minor throughput optimization */
+ /*
+ * Use SILENT if possible as a minor throughput optimization.
+ * Note: this has been dropped from IMAP4rev1.
+ */
if ((ok = gen_transact(sockfp,
- imap_version >= IMAP4
+ imap_version == IMAP4
? "STORE %d +FLAGS.SILENT (\\Deleted)"
: "STORE %d +FLAGS (\\Deleted)",
number)))