diff options
author | Thomas White <taw@physics.org> | 2019-10-18 12:50:39 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2019-10-18 12:50:39 +0200 |
commit | 10371502d7993866e5820a206e64a2664337c8c5 (patch) | |
tree | c44741b40b2df59dcfa068812ced053de8cf02fc | |
parent | 96861c596671a185b1e2fc24c60d6fbdf6ee865d (diff) |
indexamajig: Fix incorrect timeout logic
-rw-r--r-- | src/indexamajig.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/indexamajig.c b/src/indexamajig.c index d52eb3cf..661ca833 100644 --- a/src/indexamajig.c +++ b/src/indexamajig.c @@ -1012,7 +1012,7 @@ int main(int argc, char *argv[]) methods = indexing_methods(args.iargs.ipriv, &n); for ( i=0; i<n; i++ ) { - if ( methods[i] & INDEXING_PINKINDEXER ) { + if ( (methods[i] & INDEXING_METHOD_MASK) == INDEXING_PINKINDEXER ) { /* Extend timeout if using pinkIndexer */ timeout = 3000; break; |