diff options
Diffstat (limited to 'libcrystfel/src/indexers/xds.c')
-rw-r--r-- | libcrystfel/src/indexers/xds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcrystfel/src/indexers/xds.c b/libcrystfel/src/indexers/xds.c index 3936f791..8ef496cf 100644 --- a/libcrystfel/src/indexers/xds.c +++ b/libcrystfel/src/indexers/xds.c @@ -523,8 +523,8 @@ const char *xds_probe(UnitCell *cell) fh = fdopen(pty, "r"); for ( l=0; l<10; l++ ) { - char *pos; if ( fgets(line, 1024, fh) != NULL ) { + char *pos; pos = strstr(line, "** XDS **"); if ( pos != NULL ) { ok = 1; |