From 50e758864399f53b3dc6b43551175e391e640d1a Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 21 Sep 2023 15:00:16 +0200 Subject: indexamajig: Increase buffer size for Mille filename With the prefix, it can get quite long. --- src/im-sandbox.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/im-sandbox.c') diff --git a/src/im-sandbox.c b/src/im-sandbox.c index be13465c..62b46187 100644 --- a/src/im-sandbox.c +++ b/src/im-sandbox.c @@ -367,8 +367,8 @@ static int run_work(const struct index_args *iargs, Stream *st, mille = NULL; if ( iargs->mille ) { - char tmp[64]; - snprintf(tmp, 63, "%s/mille-data-%i.bin", iargs->milledir, cookie); + char tmp[1024]; + snprintf(tmp, 1024, "%s/mille-data-%i.bin", iargs->milledir, cookie); mille = crystfel_mille_new(tmp); } -- cgit v1.2.3