summaryrefslogtreecommitdiff
path: root/libexec/spamd-setup/spamd-setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/spamd-setup/spamd-setup.c')
-rw-r--r--libexec/spamd-setup/spamd-setup.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libexec/spamd-setup/spamd-setup.c b/libexec/spamd-setup/spamd-setup.c
index c4ffd69c081..7a171e6fb3a 100644
--- a/libexec/spamd-setup/spamd-setup.c
+++ b/libexec/spamd-setup/spamd-setup.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: spamd-setup.c,v 1.3 2003/03/08 22:06:02 deraadt Exp $ */
+/* $OpenBSD: spamd-setup.c,v 1.4 2003/03/09 02:50:54 beck Exp $ */
/*
* Copyright (c) 2003 Bob Beck. All rights reserved.
*
@@ -748,6 +748,7 @@ main(int argc, char *argv[])
white = blc - 1;
black = blc;
}
+ memset(&blists[black], 0, sizeof(struct blacklist));
blc += getlist(db_array, name, &blists[white],
&blists[black]);
}