diff options
author | Eric Faurot <eric@cvs.openbsd.org> | 2013-04-12 18:22:50 +0000 |
---|---|---|
committer | Eric Faurot <eric@cvs.openbsd.org> | 2013-04-12 18:22:50 +0000 |
commit | 151c44184e211bb3270a7fabeae11cc19bf3f655 (patch) | |
tree | 0293c3549c0c35779dee2a8fcd133cb041da45e1 /usr.sbin/smtpd/aliases.c | |
parent | b2af155a762b2602e13422b698b391ea9278194b (diff) |
replace MAX_LINE_SIZE and SMTP_LINE_MAX with SMTPD_MAXLINESIZE for
consistency and clarity. Remove useless and confusing extra byte in
a few arrays based on this define.
ok gilles@
Diffstat (limited to 'usr.sbin/smtpd/aliases.c')
-rw-r--r-- | usr.sbin/smtpd/aliases.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/smtpd/aliases.c b/usr.sbin/smtpd/aliases.c index 51e94a36773..8056487ed45 100644 --- a/usr.sbin/smtpd/aliases.c +++ b/usr.sbin/smtpd/aliases.c @@ -1,4 +1,4 @@ -/* $OpenBSD: aliases.c,v 1.62 2013/04/01 16:11:32 tobias Exp $ */ +/* $OpenBSD: aliases.c,v 1.63 2013/04/12 18:22:49 eric Exp $ */ /* * Copyright (c) 2008 Gilles Chehade <gilles@poolp.org> @@ -78,7 +78,7 @@ aliases_get(struct expand *expand, const char *username) int aliases_virtual_check(struct table *table, const struct mailaddr *maddr) { - char buf[MAX_LINE_SIZE]; + char buf[SMTPD_MAXLINESIZE]; char *pbuf; int ret; @@ -124,7 +124,7 @@ aliases_virtual_get(struct expand *expand, const struct mailaddr *maddr) { struct expandnode *xn; struct expand *xp; - char buf[MAX_LINE_SIZE]; + char buf[SMTPD_MAXLINESIZE]; char *pbuf; int nbaliases; int ret; |