summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2015-12-12 10:03:34 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2015-12-12 10:03:34 +0000
commit65b45c352876961dafb5c00d680e16ba63798b0b (patch)
tree123447d0b75e03aefbfe9eb3100383b2efa00bea /usr.sbin
parent8354937a270536f258df7d31b6238d663c982ccf (diff)
sender and recipient are mail addresses, not pathnames, use proper define
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/smtpd/smtpd.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/smtpd/smtpd.h b/usr.sbin/smtpd/smtpd.h
index 0ffa436d367..ed39c0c5620 100644
--- a/usr.sbin/smtpd/smtpd.h
+++ b/usr.sbin/smtpd/smtpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: smtpd.h,v 1.502 2015/12/12 10:00:59 gilles Exp $ */
+/* $OpenBSD: smtpd.h,v 1.503 2015/12/12 10:03:33 gilles Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@poolp.org>
@@ -657,9 +657,9 @@ struct forward_req {
};
struct deliver {
- char to[PATH_MAX];
- char from[PATH_MAX];
- char dest[LINE_MAX];
+ char to[EXPAND_BUFFER];
+ char from[SMTPD_MAXMAILADDRSIZE];
+ char dest[SMTPD_MAXMAILADDRSIZE];
char user[SMTPD_VUSERNAME_SIZE];
short mode;