aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-03-06 15:41:03 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-03-06 15:41:03 +0000
commitcdca22242d06c3ceb4821937164afd9000d17d20 (patch)
tree3ab4f62b9676dabe5783848aaf6d5d30dcd3caa5
parent0aa7e4307aae2252986fb0e440461642c833a677 (diff)
downloadfetchmail-cdca22242d06c3ceb4821937164afd9000d17d20.tar.gz
fetchmail-cdca22242d06c3ceb4821937164afd9000d17d20.tar.bz2
fetchmail-cdca22242d06c3ceb4821937164afd9000d17d20.zip
Respond to bug report from Dick van den Burg <burg@is.ge.com>
svn path=/trunk/; revision=1690
-rw-r--r--NEWS1
-rw-r--r--fetchmail.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index dd19ec46..de9767dd 100644
--- a/NEWS
+++ b/NEWS
@@ -23,6 +23,7 @@ fetchmail-4.4.0 ():
sent to IMAP servers. This allows them to contain doublequotes and
backslashes.
* Made the antispam response configurable.
+* UID-handling fix from Dick van den Burg <burg@is.ge.com>,
There are 269 people on fetchmail-friends and 144 on fetchmail-announce.
diff --git a/fetchmail.h b/fetchmail.h
index a4cccde0..259add67 100644
--- a/fetchmail.h
+++ b/fetchmail.h
@@ -182,7 +182,7 @@ struct query
#define UID_KEPT 0 /* remembered from a previous run */
#define UID_DELETED INT_MIN /* this message has been deleted */
#define UID_EXPUNGED INT_MAX /* this message has been expunged */
-#define SAVE_UID(n) ((n) < 0) /* must this UID be saved? */
+#define SAVE_UID(n) ((n) <= 0) /* must this UID be saved? */
#define MARK_SEEN(n) n *= -1 /* mark a UID seen */
/*