diff options
-rw-r--r-- | libexec/spamd/grey.c | 8 | ||||
-rw-r--r-- | libexec/spamd/sdl.c | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/libexec/spamd/grey.c b/libexec/spamd/grey.c index c3d82752979..d38099109fc 100644 --- a/libexec/spamd/grey.c +++ b/libexec/spamd/grey.c @@ -1,4 +1,4 @@ -/* $OpenBSD: grey.c,v 1.31 2007/03/04 03:24:47 deraadt Exp $ */ +/* $OpenBSD: grey.c,v 1.32 2007/03/05 02:10:46 deraadt Exp $ */ /* * Copyright (c) 2004-2006 Bob Beck. All rights reserved. @@ -76,7 +76,7 @@ struct db_change { #define DBC_DEL 2 /* db pending changes list */ -SLIST_HEAD(, db_change) db_changes = SLIST_HEAD_INITIALIZER(db_changes); +SLIST_HEAD(, db_change) db_changes = SLIST_HEAD_INITIALIZER(db_changes); struct mail_addr { SLIST_ENTRY(mail_addr) entry; @@ -213,7 +213,7 @@ dequotetolower(const char *addr) if (cp != NULL && cp[1] == '\0') *cp = '\0'; cp = buf; - while(*cp != '\0') { + while (*cp != '\0') { *cp = tolower(*cp); cp++; } @@ -1077,7 +1077,7 @@ greywatcher(void) sa.sa_flags = SA_RESTART; sa.sa_handler = sig_term_chld; sigaction(SIGTERM, &sa, NULL); - sigaction(SIGHUP, &sa, NULL); + sigaction(SIGHUP, &sa, NULL); sigaction(SIGCHLD, &sa, NULL); sigaction(SIGINT, &sa, NULL); diff --git a/libexec/spamd/sdl.c b/libexec/spamd/sdl.c index e6f23724ca8..3b3b20a0e01 100644 --- a/libexec/spamd/sdl.c +++ b/libexec/spamd/sdl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sdl.c,v 1.14 2007/02/23 19:36:23 deraadt Exp $ */ +/* $OpenBSD: sdl.c,v 1.15 2007/03/05 02:10:46 deraadt Exp $ */ /* * Copyright (c) 2003 Bob Beck. All rights reserved. @@ -111,7 +111,7 @@ sdl_add(char *sdname, char *sdstring, char ** addrs, int addrc) if (blacklists[idx].addrs == NULL) goto misc_error; - for(i = 0; i < addrc; i++) { + for (i = 0; i < addrc; i++) { int j, k, af; n = &blacklists[idx].addrs[i].sda; |