summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorCharles Longeau <chl@cvs.openbsd.org>2012-08-19 08:45:45 +0000
committerCharles Longeau <chl@cvs.openbsd.org>2012-08-19 08:45:45 +0000
commit6c1332ccc8c53665034ce23117431cf9f0170db0 (patch)
treecaa5de0a667386913756097c31690d1a406e81cc /usr.sbin
parentde9a3ff1dc770ae1a74ae478b1c3c99e0c70884c (diff)
fix an issue where too long lines were not spot properly.
issue reported by todd@ ok eric@
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/smtpd/smtpd.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/smtpd/smtpd.h b/usr.sbin/smtpd/smtpd.h
index 9faf67c2360..7eb4d7bdf94 100644
--- a/usr.sbin/smtpd/smtpd.h
+++ b/usr.sbin/smtpd/smtpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: smtpd.h,v 1.323 2012/08/18 20:52:36 eric Exp $ */
+/* $OpenBSD: smtpd.h,v 1.324 2012/08/19 08:45:44 chl Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org>
@@ -35,7 +35,7 @@
#define MAX_TAG_SIZE 32
/* SYNC WITH filter.h */
-//#define MAX_LINE_SIZE 1024
+//#define MAX_LINE_SIZE 1000
//#define MAX_LOCALPART_SIZE 128
//#define MAX_DOMAINPART_SIZE MAXHOSTNAMELEN
@@ -75,7 +75,7 @@
#define FAST_RESPONSES 2
/* max len of any smtp line */
-#define SMTP_LINE_MAX 1024
+#define SMTP_LINE_MAX 1000
#define F_STARTTLS 0x01
#define F_SMTPS 0x02