summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2005-11-12 02:20:38 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2005-11-12 02:20:38 +0000
commit14fe1418d53d1514482965c54b96f326d7fabe44 (patch)
tree61320ea6b591f09517e9d6dcade58582176a27cc
parentf929d1a0934214109ae544134f8d855c42045e3a (diff)
spacing
-rw-r--r--libexec/spamd/spamd.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libexec/spamd/spamd.c b/libexec/spamd/spamd.c
index 7eb37517800..27c354138e2 100644
--- a/libexec/spamd/spamd.c
+++ b/libexec/spamd/spamd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: spamd.c,v 1.79 2005/08/04 09:48:27 otto Exp $ */
+/* $OpenBSD: spamd.c,v 1.80 2005/11/12 02:20:37 deraadt Exp $ */
/*
* Copyright (c) 2002 Theo de Raadt. All rights reserved.
@@ -579,7 +579,8 @@ initcon(struct con *cp, int fd, struct sockaddr *sa)
cp->af = sa->sa_family;
cp->ia = &((struct sockaddr_in *)sa)->sin_addr;
cp->blacklists = sdl_lookup(blacklists, cp->af, cp->ia);
- cp->stutter = (greylist && !grey_stutter && cp->blacklists == NULL) ? 0 : stutter;
+ cp->stutter = (greylist && !grey_stutter && cp->blacklists == NULL) ?
+ 0 : stutter;
error = getnameinfo(sa, sa->sa_len, cp->addr, sizeof(cp->addr), NULL, 0,
NI_NUMERICHOST);
if (error)
@@ -588,9 +589,8 @@ initcon(struct con *cp, int fd, struct sockaddr *sa)
if (tmp == NULL)
err(1, "malloc");
tmp[strlen(tmp) - 1] = '\0'; /* nuke newline */
- snprintf(cp->obuf, cp->osize,
- "220 %s ESMTP %s; %s\r\n",
- hostname, spamd, tmp);
+ snprintf(cp->obuf, cp->osize, "220 %s ESMTP %s; %s\r\n",
+ hostname, spamd, tmp);
free(tmp);
cp->op = cp->obuf;
cp->ol = strlen(cp->op);