diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2005-07-31 14:11:14 +0000 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2005-07-31 14:11:14 +0000 |
commit | f194002467938d3f4d4cc6ff4dc4fe442d4aba11 (patch) | |
tree | afa8a8317e31475bc8e7506d40e3437e62238069 /uid.c | |
parent | e4767466f1d59d83000232c3853a8f9a99145d17 (diff) | |
download | fetchmail-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.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; |