summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacek Masiulaniec <jacekm@cvs.openbsd.org>2010-06-01 02:08:57 +0000
committerJacek Masiulaniec <jacekm@cvs.openbsd.org>2010-06-01 02:08:57 +0000
commit5fd1856f0538bb6a08f545d909a2f02597f818f6 (patch)
tree856f43df05966b7e7ad3c35f6690378adf585044
parent2c57274c18071fae1731c2ade5c95cf3de9815db (diff)
Fix one case of not sending smtp session id on error.
-rw-r--r--usr.sbin/smtpd/lka.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/smtpd/lka.c b/usr.sbin/smtpd/lka.c
index c5d1dddbdb4..ed4d5cb3fda 100644
--- a/usr.sbin/smtpd/lka.c
+++ b/usr.sbin/smtpd/lka.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lka.c,v 1.109 2010/05/31 23:38:56 jacekm Exp $ */
+/* $OpenBSD: lka.c,v 1.110 2010/06/01 02:08:56 jacekm Exp $ */
/*
* Copyright (c) 2008 Pierre-Yves Ritschard <pyr@openbsd.org>
@@ -859,8 +859,8 @@ lka_session_fail(struct smtpd *env, struct lkasession *s)
log_debug("lka: initina lka_resolve_path failed");
status = S_MESSAGE_PERMFAILURE;
- imsg_compose_event(env->sc_ievs[PROC_MFA], IMSG_LKA_RCPT, 0, 0, -1,
- &status, sizeof status);
+ imsg_compose_event(env->sc_ievs[PROC_MFA], IMSG_LKA_RCPT,
+ s->message.id, 0, -1, &status, sizeof status);
lka_session_destroy(env, s);
}