diff options
author | Thomas White <taw@physics.org> | 2023-09-21 15:00:16 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2023-09-21 15:00:16 +0200 |
commit | 50e758864399f53b3dc6b43551175e391e640d1a (patch) | |
tree | 44dad19e005b4aaaf8abc3db7c00402f6654982a | |
parent | 9838a9ff1da59f968dd88eaac8dd4c9b5db07159 (diff) |
indexamajig: Increase buffer size for Mille filename
With the prefix, it can get quite long.
-rw-r--r-- | src/im-sandbox.c | 4 |
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); } |