summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacek Masiulaniec <jacekm@cvs.openbsd.org>2009-08-11 14:46:59 +0000
committerJacek Masiulaniec <jacekm@cvs.openbsd.org>2009-08-11 14:46:59 +0000
commit26aaea80860779fabc6d188cc09d092095aa6b19 (patch)
treed3a92eb30f842063cc0070d9e55a763d94b8b1f9
parentb203dadbdd14bd2033b9c9b4b1dea285c194173e (diff)
call reset_flags in bounce_session failure code path.
-rw-r--r--usr.sbin/smtpd/runner.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/smtpd/runner.c b/usr.sbin/smtpd/runner.c
index 46cec56a157..89a7bad21c9 100644
--- a/usr.sbin/smtpd/runner.c
+++ b/usr.sbin/smtpd/runner.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: runner.c,v 1.61 2009/08/11 14:45:19 jacekm Exp $ */
+/* $OpenBSD: runner.c,v 1.62 2009/08/11 14:46:58 jacekm Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org>
@@ -451,6 +451,8 @@ runner_dispatch_smtp(int sig, short event, void *p)
if (bounce_session(env, imsg.fd, messagep))
queue_remove_envelope(messagep);
+ else
+ reset_flags(messagep);
break;
}