aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/utils.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2018-11-09 17:09:14 +0100
committerThomas White <taw@physics.org>2019-01-29 11:23:16 +0100
commita0aa14dda84bbdc66fba9fc68b8781911835ccbc (patch)
treec30d2da0c8bef1f939ee0ce51bdfc24f91bffe14 /libcrystfel/src/utils.c
parente7d188319f92f72f193d43c2b0be445c46842718 (diff)
DS9K compatibility
Diffstat (limited to 'libcrystfel/src/utils.c')
-rw-r--r--libcrystfel/src/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcrystfel/src/utils.c b/libcrystfel/src/utils.c
index 1b2ebad3..19dfe2a8 100644
--- a/libcrystfel/src/utils.c
+++ b/libcrystfel/src/utils.c
@@ -287,7 +287,7 @@ void chomp(char *s)
{
size_t i;
- if ( !s ) return;
+ if ( s == NULL ) return;
for ( i=0; i<strlen(s); i++ ) {
if ( (s[i] == '\n') || (s[i] == '\r') ) {