diff options
author | Eric Faurot <eric@cvs.openbsd.org> | 2013-02-14 14:34:08 +0000 |
---|---|---|
committer | Eric Faurot <eric@cvs.openbsd.org> | 2013-02-14 14:34:08 +0000 |
commit | b738f0c89f818c393e10cb6575a2bc4d4879b720 (patch) | |
tree | 9b81353cdf1f4c2362352439b2be4ccb39aea5d9 /usr.sbin/smtpd/smtpd-api.h | |
parent | 9599abc711a8cf7f323838404b5a5d6a49084256 (diff) |
grow MAX_LOCALPART_SIZE and MAX_DOMAINPART_SIZE by 1 (for the '\0')
ok gilles@
Diffstat (limited to 'usr.sbin/smtpd/smtpd-api.h')
-rw-r--r-- | usr.sbin/smtpd/smtpd-api.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/smtpd/smtpd-api.h b/usr.sbin/smtpd/smtpd-api.h index 0f6218b7229..ffd626c660a 100644 --- a/usr.sbin/smtpd/smtpd-api.h +++ b/usr.sbin/smtpd/smtpd-api.h @@ -1,4 +1,4 @@ -/* $OpenBSD: smtpd-api.h,v 1.1 2013/01/26 09:37:23 gilles Exp $ */ +/* $OpenBSD: smtpd-api.h,v 1.2 2013/02/14 14:34:07 eric Exp $ */ /* * Copyright (c) 2011 Gilles Chehade <gilles@poolp.org> @@ -29,8 +29,8 @@ #define FILTER_API_VERSION 50 #define MAX_LINE_SIZE 2048 -#define MAX_LOCALPART_SIZE 64 -#define MAX_DOMAINPART_SIZE 255 +#define MAX_LOCALPART_SIZE (64 + 1) +#define MAX_DOMAINPART_SIZE (255 + 1) struct mailaddr { char user[MAX_LOCALPART_SIZE]; |