diff options
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') ) { |