aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/indexers/dirax.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src/indexers/dirax.c')
-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... */