summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/smtpctl.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/smtpctl.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/smtpctl.c')
-rw-r--r--usr.sbin/smtpd/smtpctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/smtpctl.c b/usr.sbin/smtpd/smtpctl.c
index 43c82372509..fabb423d00e 100644
--- a/usr.sbin/smtpd/smtpctl.c
+++ b/usr.sbin/smtpd/smtpctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: smtpctl.c,v 1.101 2013/02/14 12:30:49 gilles Exp $ */
+/* $OpenBSD: smtpctl.c,v 1.102 2013/04/12 18:22:49 eric Exp $ */
/*
* Copyright (c) 2006 Gilles Chehade <gilles@poolp.org>
@@ -178,7 +178,7 @@ main(int argc, char *argv[])
struct imsg imsg;
struct smtpd smtpd;
uint64_t ulval;
- char name[MAX_LINE_SIZE];
+ char name[SMTPD_MAXLINESIZE];
int done = 0;
int verb = 0;
int profile = 0;