diff options
author | Gilles Chehade <gilles@cvs.openbsd.org> | 2015-12-12 10:01:00 +0000 |
---|---|---|
committer | Gilles Chehade <gilles@cvs.openbsd.org> | 2015-12-12 10:01:00 +0000 |
commit | 8354937a270536f258df7d31b6238d663c982ccf (patch) | |
tree | 4608abc0b8311a4874d0feb858303ba3743f9b50 | |
parent | aba889ca56a72a821dcea5d1ffe06cb68bd9670d (diff) |
use smtpd specific define for table name sizes
-rw-r--r-- | usr.sbin/smtpd/smtpd.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/smtpd/smtpd.h b/usr.sbin/smtpd/smtpd.h index 45c9b6eb81c..0ffa436d367 100644 --- a/usr.sbin/smtpd/smtpd.h +++ b/usr.sbin/smtpd/smtpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: smtpd.h,v 1.501 2015/12/12 09:58:33 gilles Exp $ */ +/* $OpenBSD: smtpd.h,v 1.502 2015/12/12 10:00:59 gilles Exp $ */ /* * Copyright (c) 2008 Gilles Chehade <gilles@poolp.org> @@ -116,7 +116,7 @@ struct relayhost { uint16_t port; char pki_name[HOST_NAME_MAX+1]; char ca_name[HOST_NAME_MAX+1]; - char authtable[PATH_MAX]; + char authtable[SMTPD_TABLENAME_SIZE]; char authlabel[PATH_MAX]; char sourcetable[PATH_MAX]; char heloname[HOST_NAME_MAX+1]; @@ -408,7 +408,7 @@ struct rule { struct delivery_mda { enum action_type method; - char usertable[PATH_MAX]; + char usertable[SMTPD_TABLENAME_SIZE]; char username[SMTPD_VUSERNAME_SIZE]; char buffer[EXPAND_BUFFER]; char delivery_user[SMTPD_VUSERNAME_SIZE]; |