summaryrefslogtreecommitdiffstats
path: root/libexec/spamd/spamd.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2003-03-08 22:05:20 +0000
committerderaadt <deraadt@openbsd.org>2003-03-08 22:05:20 +0000
commitefeab67e1f021345b5a057a9bdeeba74aef022d1 (patch)
treed0a11f27da394efd6918b186b6a5b6092bf9a4dd /libexec/spamd/spamd.c
parentremove some more ambigious bs (diff)
downloadwireguard-openbsd-efeab67e1f021345b5a057a9bdeeba74aef022d1.tar.xz
wireguard-openbsd-efeab67e1f021345b5a057a9bdeeba74aef022d1.zip
knf
Diffstat (limited to 'libexec/spamd/spamd.c')
-rw-r--r--libexec/spamd/spamd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libexec/spamd/spamd.c b/libexec/spamd/spamd.c
index 800c551e3dc..6753f7a81f5 100644
--- a/libexec/spamd/spamd.c
+++ b/libexec/spamd/spamd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: spamd.c,v 1.21 2003/03/04 05:54:53 beck Exp $ */
+/* $OpenBSD: spamd.c,v 1.22 2003/03/08 22:05:20 deraadt Exp $ */
/*
* Copyright (c) 2002 Theo de Raadt. All rights reserved.
@@ -404,6 +404,7 @@ build_reply(struct con *cp)
int used = 0;
char *c = cp->obuf + off;
int left = cp->osize - off;
+
used = append_error_string(cp, off, matches[0]->string,
cp->af, cp->ia);
if (used == -1)
@@ -822,6 +823,7 @@ main(int argc, char *argv[])
struct timeval tv, *tvp;
int max, i, n;
int writers;
+
max = MAX(s, conflisten);
max = MAX(max, conffd);