summaryrefslogtreecommitdiff
path: root/libexec/spamd
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2003-03-28 17:52:25 +0000
committerJason Wright <jason@cvs.openbsd.org>2003-03-28 17:52:25 +0000
commit967b13f3cf3dd78bccaebbbd1c1d553ee3d0fac5 (patch)
treec0d911bdee63c2bfaf8dfbc98b9e9e1ed4b29d5c /libexec/spamd
parenta8f35ea4a2d6b966f1f322a7427a8a77e3934d3e (diff)
report how much time was wasted; ok beck
Diffstat (limited to 'libexec/spamd')
-rw-r--r--libexec/spamd/spamd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/spamd/spamd.c b/libexec/spamd/spamd.c
index f64e8c01860..0037d61a836 100644
--- a/libexec/spamd/spamd.c
+++ b/libexec/spamd/spamd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: spamd.c,v 1.26 2003/03/20 01:39:36 david Exp $ */
+/* $OpenBSD: spamd.c,v 1.27 2003/03/28 17:52:24 jason Exp $ */
/*
* Copyright (c) 2002 Theo de Raadt. All rights reserved.
@@ -609,8 +609,8 @@ nextstate(struct con *cp)
spam:
case 50:
- syslog_r(LOG_INFO, &sdata, "%s: %s -> %s",
- cp->addr, cp->mail, cp->rcpt);
+ syslog_r(LOG_INFO, &sdata, "%s: %s -> %s %ldsec",
+ cp->addr, cp->mail, cp->rcpt, (long)(t - cp->s));
doreply(cp);
cp->op = cp->obuf;
cp->ol = strlen(cp->op);