summaryrefslogtreecommitdiff
path: root/libexec/spamd
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2004-08-08 19:32:46 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2004-08-08 19:32:46 +0000
commit1a2d5a72c73be90c51548512969b93563e2c941d (patch)
tree8d3c3edbcee9e1f0d3ed5d4bc01c6fda6d0d1031 /libexec/spamd
parent3eaff1b1af94c3253f46fd4dee5afd79982c557c (diff)
spacing
Diffstat (limited to 'libexec/spamd')
-rw-r--r--libexec/spamd/grey.c8
-rw-r--r--libexec/spamd/spamd.c6
2 files changed, 7 insertions, 7 deletions
diff --git a/libexec/spamd/grey.c b/libexec/spamd/grey.c
index 3563602f8d2..90ef1cdfdd5 100644
--- a/libexec/spamd/grey.c
+++ b/libexec/spamd/grey.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: grey.c,v 1.15 2004/07/04 22:46:47 deraadt Exp $ */
+/* $OpenBSD: grey.c,v 1.16 2004/08/08 19:32:45 deraadt Exp $ */
/*
* Copyright (c) 2004 Bob Beck. All rights reserved.
@@ -465,13 +465,13 @@ greywatcher(void)
if ((i = open(PATH_SPAMD_DB, O_RDWR, 0)) == -1 && errno == ENOENT) {
i = open(PATH_SPAMD_DB, O_RDWR|O_CREAT, 0644);
if (i == -1) {
- syslog_r(LOG_ERR, &sdata, "create %s failed (%m)",
+ syslog_r(LOG_ERR, &sdata, "create %s failed (%m)",
PATH_SPAMD_DB);
exit(1);
}
/* if we are dropping privs, chown to that user */
if (pw && (fchown(i, pw->pw_uid, pw->pw_gid) == -1)) {
- syslog_r(LOG_ERR, &sdata, "chown %s failed (%m)",
+ syslog_r(LOG_ERR, &sdata, "chown %s failed (%m)",
PATH_SPAMD_DB);
exit(1);
}
@@ -494,7 +494,7 @@ greywatcher(void)
db_pid = fork();
switch(db_pid) {
case -1:
- syslog_r(LOG_ERR, &sdata, "fork failed (%m)");
+ syslog_r(LOG_ERR, &sdata, "fork failed (%m)");
exit(1);
case 0:
/*
diff --git a/libexec/spamd/spamd.c b/libexec/spamd/spamd.c
index d55b3feecae..7697186b396 100644
--- a/libexec/spamd/spamd.c
+++ b/libexec/spamd/spamd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: spamd.c,v 1.69 2004/07/04 22:45:41 deraadt Exp $ */
+/* $OpenBSD: spamd.c,v 1.70 2004/08/08 19:32:45 deraadt Exp $ */
/*
* Copyright (c) 2002 Theo de Raadt. All rights reserved.
@@ -972,7 +972,7 @@ main(int argc, char *argv[])
break;
}
}
-
+
if (!greylist)
maxblack = maxcon;
else if (maxblack > maxcon)
@@ -1056,7 +1056,7 @@ main(int argc, char *argv[])
}
jail_pid = fork();
switch(jail_pid) {
- case -1:
+ case -1:
syslog(LOG_ERR, "fork (%m)");
exit(1);
case 0: