diff options
author | Thomas White <taw@physics.org> | 2018-11-09 17:09:14 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2019-01-29 11:23:16 +0100 |
commit | a0aa14dda84bbdc66fba9fc68b8781911835ccbc (patch) | |
tree | c30d2da0c8bef1f939ee0ce51bdfc24f91bffe14 /libcrystfel | |
parent | e7d188319f92f72f193d43c2b0be445c46842718 (diff) |
DS9K compatibility
Diffstat (limited to 'libcrystfel')
-rw-r--r-- | libcrystfel/src/utils.c | 2 |
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') ) { |