summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/forward.c
diff options
context:
space:
mode:
authorEric Faurot <eric@cvs.openbsd.org>2012-09-21 16:40:21 +0000
committerEric Faurot <eric@cvs.openbsd.org>2012-09-21 16:40:21 +0000
commit798a848ddabe2ad7406d31f9a6b37f54a0405cbd (patch)
treeccbe2f58dc20b9437f5bef5c157bfa36c7f1062c /usr.sbin/smtpd/forward.c
parent435dd7662458f4444988e5c2144782dff64f14bf (diff)
wrap expandtree into a "struct expand".
ok gilles@
Diffstat (limited to 'usr.sbin/smtpd/forward.c')
-rw-r--r--usr.sbin/smtpd/forward.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/smtpd/forward.c b/usr.sbin/smtpd/forward.c
index a4714fb2172..ce8938f3e95 100644
--- a/usr.sbin/smtpd/forward.c
+++ b/usr.sbin/smtpd/forward.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: forward.c,v 1.28 2012/09/20 14:28:57 eric Exp $ */
+/* $OpenBSD: forward.c,v 1.29 2012/09/21 16:40:20 eric Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org>
@@ -34,7 +34,7 @@
#include "log.h"
int
-forwards_get(int fd, struct expandtree *expandtree, const char *as_user)
+forwards_get(int fd, struct expand *expand, const char *as_user)
{
FILE *fp;
char *buf, *lbuf, *p, *cp;
@@ -95,7 +95,7 @@ forwards_get(int fd, struct expandtree *expandtree, const char *as_user)
(void)strlcpy(xn.as_user, as_user, sizeof(xn.as_user));
- expand_insert(expandtree, &xn);
+ expand_insert(expand, &xn);
nbaliases++;
} while (*cp != '\0');
}