artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa29652
)
zap whitespaces
author
mestre
<mestre@openbsd.org>
Thu, 26 Jul 2018 19:33:20 +0000
(19:33 +0000)
committer
mestre
<mestre@openbsd.org>
Thu, 26 Jul 2018 19:33:20 +0000
(19:33 +0000)
usr.sbin/spamdb/spamdb.c
patch
|
blob
|
history
diff --git
a/usr.sbin/spamdb/spamdb.c
b/usr.sbin/spamdb/spamdb.c
index
871605c
..
cb5d31e
100644
(file)
--- a/
usr.sbin/spamdb/spamdb.c
+++ b/
usr.sbin/spamdb/spamdb.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: spamdb.c,v 1.3
5 2018/07/26 19:32:52
mestre Exp $ */
+/* $OpenBSD: spamdb.c,v 1.3
6 2018/07/26 19:33:20
mestre Exp $ */
/*
* Copyright (c) 2004 Bob Beck. All rights reserved.
@@
-359,7
+359,7
@@
main(int argc, char **argv)
argv += optind;
if (action == 0 && type != WHITE)
usage();
-
+
memset(&hashinfo, 0, sizeof(hashinfo));
db = dbopen(PATH_SPAMD_DB, O_EXLOCK | (action ? O_RDWR : O_RDONLY),
0600, DB_HASH, &hashinfo);