From 8d28f13e79dbec60a6f95a85ecfcf16ba47a73c7 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 19 Feb 2013 18:13:25 +0100 Subject: Fix incorrect path in stream (which broke check-near-bragg et al.) --- 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 d393c356..0afe9ff3 100644 --- a/src/im-sandbox.c +++ b/src/im-sandbox.c @@ -202,13 +202,13 @@ static void process_image(const struct index_args *iargs, image.flags = NULL; image.copyme = iargs->copyme; image.id = cookie; - image.filename = filename; + image.filename = pargs->filename; /* Relative to top level */ image.beam = iargs->beam; image.det = iargs->det; image.crystals = NULL; image.n_crystals = 0; - hdfile = hdfile_open(image.filename); + hdfile = hdfile_open(filename); /* Relative to temporary folder */ if ( hdfile == NULL ) return; if ( iargs->element != NULL ) { -- cgit v1.2.3