diff options
Diffstat (limited to 'usr.sbin/smtpd/lka.c')
-rw-r--r-- | usr.sbin/smtpd/lka.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/smtpd/lka.c b/usr.sbin/smtpd/lka.c index 471220960a3..a4b9b953fb1 100644 --- a/usr.sbin/smtpd/lka.c +++ b/usr.sbin/smtpd/lka.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lka.c,v 1.160 2013/11/18 12:24:26 eric Exp $ */ +/* $OpenBSD: lka.c,v 1.161 2013/11/20 09:22:42 eric Exp $ */ /* * Copyright (c) 2008 Pierre-Yves Ritschard <pyr@openbsd.org> @@ -228,6 +228,7 @@ lka_imsg(struct mproc *p, struct imsg *imsg) switch (imsg->hdr.type) { case IMSG_LKA_USERINFO: m_msg(&m, imsg); + m_get_id(&m, &reqid); m_get_string(&m, &tablename); m_get_string(&m, &username); m_end(&m); @@ -235,8 +236,7 @@ lka_imsg(struct mproc *p, struct imsg *imsg) ret = lka_userinfo(tablename, username, &userinfo); m_create(p, IMSG_LKA_USERINFO, 0, 0, -1); - m_add_string(p, tablename); - m_add_string(p, username); + m_add_id(p, reqid); m_add_int(p, ret); if (ret == LKA_OK) m_add_data(p, &userinfo, sizeof(userinfo)); |