aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2015-10-06 17:25:10 +0200
committerThomas White <taw@physics.org>2015-10-07 12:07:18 +0200
commite91c5069976910212badaa955b24cf6ba83a47a0 (patch)
tree57c7038c66e1c7d8940b0ffd0094b0dccc45d5c9 /libcrystfel
parent9fe6fa361f3fd5f6579437caa38b79bb23cf510a (diff)
Fussiness
Diffstat (limited to 'libcrystfel')
-rw-r--r--libcrystfel/src/hdf5-file.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/libcrystfel/src/hdf5-file.c b/libcrystfel/src/hdf5-file.c
index bd0124fd..720f6e0f 100644
--- a/libcrystfel/src/hdf5-file.c
+++ b/libcrystfel/src/hdf5-file.c
@@ -3,11 +3,11 @@
*
* Read/write HDF5 data files
*
- * Copyright © 2012 Deutsches Elektronen-Synchrotron DESY,
- * a research centre of the Helmholtz Association.
+ * Copyright © 2012-2015 Deutsches Elektronen-Synchrotron DESY,
+ * a research centre of the Helmholtz Association.
*
* Authors:
- * 2009-2012 Thomas White <taw@physics.org>
+ * 2009-2015 Thomas White <taw@physics.org>
* 2014 Valerio Mariani
*
* This file is part of CrystFEL.
@@ -727,18 +727,18 @@ static struct hdf5_write_location *make_location_list(struct detector *det,
for ( pi=0; pi<det->n_panels; pi++ ) {
- struct panel p;
+ struct panel *p;
const char *p_location;
- p = det->panels[pi];
+ p = &det->panels[pi];
- if ( p.data == NULL ) {
+ if ( p->data == NULL ) {
p_location = def_location;
} else {
- p_location = p.data;
+ p_location = p->data;
}
- add_panel_location(&p, p_location, pi,
+ add_panel_location(p, p_location, pi,
&locations, &num_locations);
}