diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-10-25 14:21:07 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-10-25 14:21:07 +0000 |
commit | a1d2615bfec256669d53987127c50cf011741ac6 (patch) | |
tree | 113d8180ef292ac0aa1e96ddd7a2329273d9f48d /usr.sbin | |
parent | 963d7e4461868edac4f8ae641a42f43e4b54cf24 (diff) |
obvious time_t mishandling. Sigh.
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/smtpd/mta_session.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.sbin/smtpd/mta_session.c b/usr.sbin/smtpd/mta_session.c index 6d8544bc107..fa5ce1cd808 100644 --- a/usr.sbin/smtpd/mta_session.c +++ b/usr.sbin/smtpd/mta_session.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mta_session.c,v 1.40 2013/07/22 13:11:11 eric Exp $ */ +/* $OpenBSD: mta_session.c,v 1.41 2013/10/25 14:21:06 deraadt Exp $ */ /* * Copyright (c) 2008 Pierre-Yves Ritschard <pyr@openbsd.org> @@ -668,8 +668,9 @@ mta_enter_state(struct mta_session *s, int newstate) break; } - log_debug("mta: debug: last connection: hanging on for %is", - s->relay->limits->sessdelay_keepalive - s->hangon); + log_debug("mta: debug: last connection: hanging on for %llds", + (long long)(s->relay->limits->sessdelay_keepalive - + s->hangon)); s->flags |= MTA_HANGON; runq_schedule(hangon, time(NULL) + 1, NULL, s); break; |