From 65b45c352876961dafb5c00d680e16ba63798b0b Mon Sep 17 00:00:00 2001 From: Gilles Chehade Date: Sat, 12 Dec 2015 10:03:34 +0000 Subject: sender and recipient are mail addresses, not pathnames, use proper define --- usr.sbin/smtpd/smtpd.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'usr.sbin') 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 @@ -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; -- cgit v1.2.3