aboutsummaryrefslogtreecommitdiffstats
path: root/imap.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1999-10-26 18:18:05 +0000
committerEric S. Raymond <esr@thyrsus.com>1999-10-26 18:18:05 +0000
commitb5d9871e38e2bee9283beb475f9a7e2679954f67 (patch)
tree4e9f63f044b6bc680b9b004de452cef8f085e854 /imap.c
parent3a2fc51a448f124984b678e7ed43d91e686905d8 (diff)
downloadfetchmail-b5d9871e38e2bee9283beb475f9a7e2679954f67.tar.gz
fetchmail-b5d9871e38e2bee9283beb475f9a7e2679954f67.tar.bz2
fetchmail-b5d9871e38e2bee9283beb475f9a7e2679954f67.zip
Almost ready to ship.
svn path=/trunk/; revision=2640
Diffstat (limited to 'imap.c')
-rw-r--r--imap.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/imap.c b/imap.c
index 3039039f..1c7d1fe8 100644
--- a/imap.c
+++ b/imap.c
@@ -1252,12 +1252,14 @@ static int imap_trail(int sock, struct query *ctl, int number)
if (strstr(buf, "OK"))
break;
+#ifdef __UNUSED__
/*
- * We've had a report of one server (not yet identified) that
- * fails to set SEEN on a body fetch. This becomes an issue when
+ * We've had a report of one POP3 server (not yet identified) that
+ * fails to set SEEN on a message fetch. This becomes an issue when
* keep is on, because seen messages aren't deleted and get
* refetched on each poll. As a workaround, if keep is on
- * we set the Seen flag explicitly.
+ * we could set the Seen flag explicitly. This code isn't used yet
+ * because we don't know of any IMAP servers broken in this way.
*/
if (ctl->keep)
if ((ok = gen_transact(sock,
@@ -1267,6 +1269,7 @@ static int imap_trail(int sock, struct query *ctl, int number)
number)))
return(ok);
}
+#endif /* __UNUSED__ */
return(PS_SUCCESS);
}