From ac58fe0dee8d1b4bfc290e08c5fa84582ff42961 Mon Sep 17 00:00:00 2001 From: gilles Date: Wed, 14 Oct 2015 21:30:40 +0000 Subject: [PATCH] SMTPD_MAXPATHLEN -> PATH_MAX, this was unnoticed as file is not linked --- usr.sbin/smtpd/queue_api.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/smtpd/queue_api.c b/usr.sbin/smtpd/queue_api.c index 14d87f7bc9b..d66bc142691 100644 --- a/usr.sbin/smtpd/queue_api.c +++ b/usr.sbin/smtpd/queue_api.c @@ -1,4 +1,4 @@ -/* $OpenBSD: queue_api.c,v 1.7 2015/01/20 17:37:54 deraadt Exp $ */ +/* $OpenBSD: queue_api.c,v 1.8 2015/10/14 21:30:40 gilles Exp $ */ /* * Copyright (c) 2013 Eric Faurot @@ -111,7 +111,7 @@ queue_msg_dispatch(void) uint64_t evpid; uint32_t msgid, version; size_t n, m; - char buffer[8192], path[SMTPD_MAXPATHLEN]; + char buffer[8192], path[PATH_MAX]; int r, fd; FILE *ifile, *ofile; -- 2.20.1