summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/mfa_session.c
diff options
context:
space:
mode:
authorEric Faurot <eric@cvs.openbsd.org>2013-04-12 18:22:50 +0000
committerEric Faurot <eric@cvs.openbsd.org>2013-04-12 18:22:50 +0000
commit151c44184e211bb3270a7fabeae11cc19bf3f655 (patch)
tree0293c3549c0c35779dee2a8fcd133cb041da45e1 /usr.sbin/smtpd/mfa_session.c
parentb2af155a762b2602e13422b698b391ea9278194b (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/mfa_session.c')
-rw-r--r--usr.sbin/smtpd/mfa_session.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/mfa_session.c b/usr.sbin/smtpd/mfa_session.c
index c6d23e55697..ba14eb7e94a 100644
--- a/usr.sbin/smtpd/mfa_session.c
+++ b/usr.sbin/smtpd/mfa_session.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mfa_session.c,v 1.15 2013/03/26 13:30:29 millert Exp $ */
+/* $OpenBSD: mfa_session.c,v 1.16 2013/04/12 18:22:49 eric Exp $ */
/*
* Copyright (c) 2011 Gilles Chehade <gilles@poolp.org>
@@ -90,7 +90,7 @@ struct mfa_query {
struct sockaddr_storage remote;
char hostname[MAXHOSTNAMELEN];
} connect;
- char line[MAX_LINE_SIZE];
+ char line[SMTPD_MAXLINESIZE];
struct mailaddr maddr;
} u;