summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/control.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/smtpd/control.c')
-rw-r--r--usr.sbin/smtpd/control.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/control.c b/usr.sbin/smtpd/control.c
index b28bba91325..e3267d6d6fd 100644
--- a/usr.sbin/smtpd/control.c
+++ b/usr.sbin/smtpd/control.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: control.c,v 1.83 2013/03/11 17:40:11 deraadt Exp $ */
+/* $OpenBSD: control.c,v 1.84 2013/04/12 18:22:49 eric Exp $ */
/*
* Copyright (c) 2012 Gilles Chehade <gilles@poolp.org>
@@ -674,7 +674,7 @@ control_dispatch_ext(struct mproc *p, struct imsg *imsg)
/* table name too long */
len = strlen(imsg->data);
- if (len >= MAX_LINE_SIZE)
+ if (len >= SMTPD_MAXLINESIZE)
goto invalid;
m_forward(p_lka, imsg);