aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2023-09-21 15:00:16 +0200
committerThomas White <taw@physics.org>2023-09-21 15:00:16 +0200
commit50e758864399f53b3dc6b43551175e391e640d1a (patch)
tree44dad19e005b4aaaf8abc3db7c00402f6654982a /src
parent9838a9ff1da59f968dd88eaac8dd4c9b5db07159 (diff)
indexamajig: Increase buffer size for Mille filename
With the prefix, it can get quite long.
Diffstat (limited to 'src')
-rw-r--r--src/im-sandbox.c4
1 files changed, 2 insertions, 2 deletions
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);
}