aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel')
-rw-r--r--libcrystfel/src/events.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcrystfel/src/events.c b/libcrystfel/src/events.c
index de43cacd..03562fb5 100644
--- a/libcrystfel/src/events.c
+++ b/libcrystfel/src/events.c
@@ -295,7 +295,7 @@ char *get_event_string(struct event *ev)
} else {
ret_string = strdup("/");
- ret_string_len = strlen(ret_string);
+ ret_string_len = 1;
}