aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-05-06 12:21:03 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-05-06 12:21:03 +0000
commit6085ee3e7825efd7a9684fe3af0261a6fc3bacd0 (patch)
tree7a5c3f7e7e753c2e0fc30d5b270800f1ded72344
parente5401c14b6fc36b24f7c4411cb447722faed8389 (diff)
downloadfetchmail-6085ee3e7825efd7a9684fe3af0261a6fc3bacd0.tar.gz
fetchmail-6085ee3e7825efd7a9684fe3af0261a6fc3bacd0.tar.bz2
fetchmail-6085ee3e7825efd7a9684fe3af0261a6fc3bacd0.zip
Unbug the UID state initialization.
svn path=/trunk/; revision=1757
-rw-r--r--NEWS1
-rw-r--r--uid.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index c867468a..9724d225 100644
--- a/NEWS
+++ b/NEWS
@@ -16,6 +16,7 @@
------------------------------------------------------------------------------
fetchmail-4.4.4 ():
* Francois Wautier's fix for qvirtual.
+* Willem Hengeveld's fix for UID initialization.
fetchmail-4.4.3 (Sun Apr 19 18:22:00 EDT 1998):
* Back out one of the changes to the null Return-Path handling, as it caused
diff --git a/uid.c b/uid.c
index 30ce1827..dcf90687 100644
--- a/uid.c
+++ b/uid.c
@@ -93,7 +93,7 @@ void initialize_saved_lists(struct query *hostlist, const char *idfile)
strcasecmp(host, ctl->server.truename) == 0
&& strcasecmp(user, ctl->remotename) == 0)
{
- save_str(&ctl->oldsaved, id, UID_UNSEEN);
+ save_str(&ctl->oldsaved, id, UID_SEEN);
break;
}
}