aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/events.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src/events.c')
-rw-r--r--libcrystfel/src/events.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcrystfel/src/events.c b/libcrystfel/src/events.c
index 3062871d..de43cacd 100644
--- a/libcrystfel/src/events.c
+++ b/libcrystfel/src/events.c
@@ -314,11 +314,11 @@ char *get_event_string(struct event *ev)
return NULL;
}
- ret_string=new_ret_string;
+ ret_string = new_ret_string;
strncpy(&ret_string[ret_string_len],"/", 1);
strncpy(&ret_string[ret_string_len+1], num_buf,
- strlen(num_buf));
+ strlen(num_buf));
ret_string_len += 1+strlen(num_buf);
}