summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/lka.c
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2013-02-14 12:30:50 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2013-02-14 12:30:50 +0000
commit1a6a21621e7562e608266ee3de8b00c653188db6 (patch)
treeb7115ca1b677fda2afbd0d3252065b5eb09bbd17 /usr.sbin/smtpd/lka.c
parent7d1f8d4c696c5ea8e871bf219c3feea11f3f3abc (diff)
- smtpctl trace expand, enables tracing of aliases expansion
- replace "users" keyword with "userbase" when providing alternate userbase - disambiguise expansion nodes when expanding across domains and userbases - allow use of '=' instead of '=>' when declaring a mapping ok eric@
Diffstat (limited to 'usr.sbin/smtpd/lka.c')
-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 1c0800fc9e9..de6e8deadf9 100644
--- a/usr.sbin/smtpd/lka.c
+++ b/usr.sbin/smtpd/lka.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lka.c,v 1.149 2013/02/05 11:45:18 gilles Exp $ */
+/* $OpenBSD: lka.c,v 1.150 2013/02/14 12:30:49 gilles Exp $ */
/*
* Copyright (c) 2008 Pierre-Yves Ritschard <pyr@openbsd.org>
@@ -472,8 +472,8 @@ lka_imsg(struct mproc *p, struct imsg *imsg)
rule = TAILQ_LAST(env->sc_rules_reload, rulelist);
tmp = env->sc_tables_dict;
env->sc_tables_dict = tables_dict;
- rule->r_users = table_findbyname(imsg->data);
- if (rule->r_users == NULL)
+ rule->r_userbase = table_findbyname(imsg->data);
+ if (rule->r_userbase == NULL)
fatalx("lka: tables inconsistency");
env->sc_tables_dict = tmp;
return;