aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-03-12 12:32:01 +0100
committerThomas White <taw@physics.org>2021-03-12 12:32:01 +0100
commit1a92ce3723861478e48a9c4875b9fcd0e6589ad3 (patch)
tree318ece9b956b533ce7884ae7c8e018aea999c07a /libcrystfel
parent640a9c4aa44f58acc40108ac2ae84269117fd84a (diff)
FromFile indexer: Add missing semicolons
Diffstat (limited to 'libcrystfel')
-rw-r--r--libcrystfel/src/indexers/fromfile.c6
1 files changed, 3 insertions, 3 deletions
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");
}
}
}