summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd
diff options
context:
space:
mode:
authorJacek Masiulaniec <jacekm@cvs.openbsd.org>2010-06-04 11:15:26 +0000
committerJacek Masiulaniec <jacekm@cvs.openbsd.org>2010-06-04 11:15:26 +0000
commit69a5a3b71fe41336e74f82840300aa8bc5165cf7 (patch)
treecd97e35025b0560cd0db44d0ae33ba85019c6c14 /usr.sbin/smtpd
parent7ced78518218c245a76b1de71172d60b380ed65f (diff)
Use correct imsg type in error reply.
Diffstat (limited to 'usr.sbin/smtpd')
-rw-r--r--usr.sbin/smtpd/lka.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/lka.c b/usr.sbin/smtpd/lka.c
index 0f16248d50a..5e1334133ae 100644
--- a/usr.sbin/smtpd/lka.c
+++ b/usr.sbin/smtpd/lka.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lka.c,v 1.114 2010/06/02 19:16:53 chl Exp $ */
+/* $OpenBSD: lka.c,v 1.115 2010/06/04 11:15:25 jacekm Exp $ */
/*
* Copyright (c) 2008 Pierre-Yves Ritschard <pyr@openbsd.org>
@@ -106,7 +106,7 @@ lka_imsg(struct smtpd *env, struct imsgev *iev, struct imsg *imsg)
if (rule == NULL) {
log_debug("lka: rule not found");
status = S_MESSAGE_PERMFAILURE;
- imsg_compose_event(iev, IMSG_LKA_RULEMATCH, m->id, 0, -1,
+ imsg_compose_event(iev, IMSG_LKA_RCPT, m->id, 0, -1,
&status, sizeof status);
return;
}