From a74182b892b0ab4f67c5bd7987fe5de9856dc436 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sat, 15 Feb 1997 02:46:37 +0000 Subject: RFC2061 changes. svn path=/trunk/; revision=882 --- fetchmail.man | 3 +-- imap.c | 7 +++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/fetchmail.man b/fetchmail.man index fae705aa..13e94071 100644 --- a/fetchmail.man +++ b/fetchmail.man @@ -1077,8 +1077,7 @@ IMAP2/IMAP2BIS: RFC 1176, RFC 1732 .TP 5 IMAP4: -RFC 1730, RFC 1731, RFC 1732, RFC 2060 +RFC 1730, RFC 1731, RFC 1732, RFC 2060, RFC 2061 .TP 5 ETRN: RFC 1985 - 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))) -- cgit v1.2.3