aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 */
/*