summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/lka_session.c
diff options
context:
space:
mode:
authorEric Faurot <eric@cvs.openbsd.org>2012-11-27 09:39:45 +0000
committerEric Faurot <eric@cvs.openbsd.org>2012-11-27 09:39:45 +0000
commit53ce36e7f75330eab0be00d981db6a9ab59ef5e0 (patch)
tree6ee9227ba78169a67f0caad7412aeb1d377f9d42 /usr.sbin/smtpd/lka_session.c
parente4cc14cd7d827d108ac58f6ad3764bdeaa331a13 (diff)
missing initialization.
ok gilles@
Diffstat (limited to 'usr.sbin/smtpd/lka_session.c')
-rw-r--r--usr.sbin/smtpd/lka_session.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/smtpd/lka_session.c b/usr.sbin/smtpd/lka_session.c
index 9885c549625..7df7d88e021 100644
--- a/usr.sbin/smtpd/lka_session.c
+++ b/usr.sbin/smtpd/lka_session.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lka_session.c,v 1.49 2012/11/12 14:58:53 eric Exp $ */
+/* $OpenBSD: lka_session.c,v 1.50 2012/11/27 09:39:44 eric Exp $ */
/*
* Copyright (c) 2011 Gilles Chehade <gilles@openbsd.org>
@@ -253,6 +253,7 @@ lka_expand(struct lka_session *lks, struct rule *rule, struct expandnode *xn)
lks->expand.rule = rule;
lks->expand.parent = xn;
lks->expand.alias = 1;
+ bzero(&node, sizeof(node));
node.type = EXPAND_USERNAME;
mailaddr_to_username(&xn->u.mailaddr, node.u.user,
sizeof node.u.user);