From ecf8c0feb294a04ac8f8ca69aa8041d32cd01cfb Mon Sep 17 00:00:00 2001 From: Aron Griffis Date: Tue, 21 Apr 2009 14:09:55 -0400 Subject: [PATCH] Use slen instead of assuming _POSIX_PATH_MAX Signed-off-by: Aron Griffis --- buffy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buffy.c b/buffy.c index 7b4d424c..321ca98a 100644 --- a/buffy.c +++ b/buffy.c @@ -512,7 +512,7 @@ void mutt_buffy (char *s, size_t slen) int count; BUFFY *tmp = Incoming; - mutt_expand_path (s, _POSIX_PATH_MAX); + mutt_expand_path (s, slen); switch (mutt_buffy_check (0)) { case 0: -- 2.40.0