summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd
diff options
context:
space:
mode:
authorEric Faurot <eric@cvs.openbsd.org>2014-04-15 08:32:46 +0000
committerEric Faurot <eric@cvs.openbsd.org>2014-04-15 08:32:46 +0000
commit44e6f87519d44585dbf52d38860fe30d76c80039 (patch)
tree1e851301f925c1a09a8e283d221002d8176b179d /usr.sbin/smtpd
parent3f08cdc1aa8d89ed39352b2f80906c8af4476a22 (diff)
reply with correct imsg when using non-system auth.
reported by Stefan Sieg ok gilles@
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 0c70de87c6a..abfc4ba52fa 100644
--- a/usr.sbin/smtpd/lka.c
+++ b/usr.sbin/smtpd/lka.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lka.c,v 1.166 2014/04/09 15:23:49 eric Exp $ */
+/* $OpenBSD: lka.c,v 1.167 2014/04/15 08:32:45 eric Exp $ */
/*
* Copyright (c) 2008 Pierre-Yves Ritschard <pyr@openbsd.org>
@@ -209,7 +209,7 @@ lka_imsg(struct mproc *p, struct imsg *imsg)
ret = lka_authenticate(tablename, username, password);
- m_create(p, IMSG_LKA_AUTHENTICATE, 0, 0, -1);
+ m_create(p, IMSG_SMTP_AUTHENTICATE, 0, 0, -1);
m_add_id(p, reqid);
m_add_int(p, ret);
m_close(p);