aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/indexers
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2022-03-17 13:16:20 +0100
committerThomas White <taw@physics.org>2022-03-18 12:11:51 +0100
commit8d4b0b8bb98070c4b41d372510217fcf9e2d4239 (patch)
treeec14c4f0ba1c617fdab6bf50f6f0092b9bdd4601 /libcrystfel/src/indexers
parent6e6c2fb25116ceb69d48bca98b8c3ec1e7cd7bdc (diff)
Formatting
Diffstat (limited to 'libcrystfel/src/indexers')
-rw-r--r--libcrystfel/src/indexers/dirax.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/libcrystfel/src/indexers/dirax.c b/libcrystfel/src/indexers/dirax.c
index d1be9e7c..9c427879 100644
--- a/libcrystfel/src/indexers/dirax.c
+++ b/libcrystfel/src/indexers/dirax.c
@@ -447,14 +447,12 @@ static int dirax_readable(struct image *image, struct dirax_data *dirax)
} else {
- if ( dirax->rbufpos==dirax->rbuflen ) {
+ if ( dirax->rbufpos == dirax->rbuflen ) {
/* More buffer space is needed */
- dirax->rbuffer = realloc(
- dirax->rbuffer,
- dirax->rbuflen + 256);
- dirax->rbuflen = dirax->rbuflen
- + 256;
+ dirax->rbuffer = realloc(dirax->rbuffer,
+ dirax->rbuflen + 256);
+ dirax->rbuflen = dirax->rbuflen + 256;
/* The new space gets used at the next
* read, shortly... */