From: mestre Date: Thu, 26 Jul 2018 19:33:20 +0000 (+0000) Subject: zap whitespaces X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=0033a982f8df7cf7eaf017b3f340212933280cc0;p=openbsd zap whitespaces --- diff --git a/usr.sbin/spamdb/spamdb.c b/usr.sbin/spamdb/spamdb.c index 871605ca826..cb5d31efed6 100644 --- a/usr.sbin/spamdb/spamdb.c +++ b/usr.sbin/spamdb/spamdb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: spamdb.c,v 1.35 2018/07/26 19:32:52 mestre Exp $ */ +/* $OpenBSD: spamdb.c,v 1.36 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);