aboutsummaryrefslogtreecommitdiff
path: root/src/indexamajig.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/indexamajig.c')
-rw-r--r--src/indexamajig.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/indexamajig.c b/src/indexamajig.c
index 2f25d58a..742e950e 100644
--- a/src/indexamajig.c
+++ b/src/indexamajig.c
@@ -336,7 +336,9 @@ static void process_image(struct process_args *pargs)
free(image.data);
image.data = data_for_measurement;
- if ( config_dumpfound ) dump_peaks(&image, pargs->output_mutex);
+ if ( config_dumpfound ) {
+ dump_peaks(&image, pargs->ofh, pargs->output_mutex);
+ }
/* Not indexing nor writing xfel.drx?
* Then there's nothing left to do. */