From ab3138f713ce1d73b40598d44b8dde1a0016a884 Mon Sep 17 00:00:00 2001 From: Jacek Masiulaniec Date: Thu, 19 Feb 2009 11:33:26 +0000 Subject: don't let libevent buffer long lines forever; ok gilles@ --- usr.sbin/smtpd/smtpd.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'usr.sbin/smtpd/smtpd.h') diff --git a/usr.sbin/smtpd/smtpd.h b/usr.sbin/smtpd/smtpd.h index cdbb828d1b9..212e2fee1ef 100644 --- a/usr.sbin/smtpd/smtpd.h +++ b/usr.sbin/smtpd/smtpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: smtpd.h,v 1.73 2009/02/18 22:39:12 jacekm Exp $ */ +/* $OpenBSD: smtpd.h,v 1.74 2009/02/19 11:33:25 jacekm Exp $ */ /* * Copyright (c) 2008 Gilles Chehade @@ -70,6 +70,7 @@ /* rfc5321 limits */ #define SMTP_TEXTLINE_MAX 1000 #define SMTP_CMDLINE_MAX 512 +#define SMTP_ANYLINE_MAX SMTP_TEXTLINE_MAX #define F_STARTTLS 0x01 #define F_SSMTP 0x02 -- cgit v1.2.3