From 5fd1856f0538bb6a08f545d909a2f02597f818f6 Mon Sep 17 00:00:00 2001 From: Jacek Masiulaniec Date: Tue, 1 Jun 2010 02:08:57 +0000 Subject: Fix one case of not sending smtp session id on error. --- usr.sbin/smtpd/lka.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'usr.sbin/smtpd/lka.c') 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 @@ -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); } -- cgit v1.2.3