aboutsummaryrefslogtreecommitdiffstats
path: root/uid.c
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2005-07-31 14:11:14 +0000
committerMatthias Andree <matthias.andree@gmx.de>2005-07-31 14:11:14 +0000
commitf194002467938d3f4d4cc6ff4dc4fe442d4aba11 (patch)
treeafa8a8317e31475bc8e7506d40e3437e62238069 /uid.c
parente4767466f1d59d83000232c3853a8f9a99145d17 (diff)
downloadfetchmail-f194002467938d3f4d4cc6ff4dc4fe442d4aba11.tar.gz
fetchmail-f194002467938d3f4d4cc6ff4dc4fe442d4aba11.tar.bz2
fetchmail-f194002467938d3f4d4cc6ff4dc4fe442d4aba11.zip
Initialize message numbers to zero when reading saved lists.
svn path=/trunk/; revision=4208
Diffstat (limited to 'uid.c')
-rw-r--r--uid.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/uid.c b/uid.c
index eef01887..ff993f59 100644
--- a/uid.c
+++ b/uid.c
@@ -282,8 +282,9 @@ void initialize_saved_lists(struct query *hostlist, const char *idfile)
continue;
*end = (struct idlist *)xmalloc(sizeof(struct idlist));
- (*end)->val.status.mark = status;
(*end)->id = (unsigned char *)str;
+ (*end)->val.status.mark = status;
+ (*end)->val.status.num = 0;
(*end)->next = NULL;
return end;