From 1a92ce3723861478e48a9c4875b9fcd0e6589ad3 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 12 Mar 2021 12:32:01 +0100 Subject: FromFile indexer: Add missing semicolons --- libcrystfel/src/indexers/fromfile.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libcrystfel/src/indexers') diff --git a/libcrystfel/src/indexers/fromfile.c b/libcrystfel/src/indexers/fromfile.c index c5ea0e56..969477b8 100644 --- a/libcrystfel/src/indexers/fromfile.c +++ b/libcrystfel/src/indexers/fromfile.c @@ -142,7 +142,7 @@ char *read_unknown_string(FILE *fh) str = realloc(NULL, sizeof(char)*size); //size is start size if ( !str ) { - ERROR("Can't reallocate string size") + ERROR("Can't reallocate string size"); } while( ( ch = fgetc(fh) ) != ' ' && ch != EOF ){ @@ -152,8 +152,8 @@ char *read_unknown_string(FILE *fh) if(len==size){ size+=64; str = realloc(str, sizeof(char)*(size)); - if ( !str ){ - ERROR("Can't reallocate string size") + if ( !str ) { + ERROR("Can't reallocate string size"); } } } -- cgit v1.2.3