aboutsummaryrefslogtreecommitdiffstats
path: root/uid.c
diff options
context:
space:
mode:
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;