aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-02-15 02:46:37 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-02-15 02:46:37 +0000
commita74182b892b0ab4f67c5bd7987fe5de9856dc436 (patch)
tree6526b585eda654f75c0787f009d7a0897d4dbf73
parent48731164d436f1dfec6e9acfa2a6bb09e98cfb81 (diff)
downloadfetchmail-a74182b892b0ab4f67c5bd7987fe5de9856dc436.tar.gz
fetchmail-a74182b892b0ab4f67c5bd7987fe5de9856dc436.tar.bz2
fetchmail-a74182b892b0ab4f67c5bd7987fe5de9856dc436.zip
RFC2061 changes.
svn path=/trunk/; revision=882
-rw-r--r--fetchmail.man3
-rw-r--r--imap.c7
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)))