aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2019-10-18 12:50:39 +0200
committerThomas White <taw@physics.org>2019-10-18 12:50:39 +0200
commit10371502d7993866e5820a206e64a2664337c8c5 (patch)
treec44741b40b2df59dcfa068812ced053de8cf02fc /src
parent96861c596671a185b1e2fc24c60d6fbdf6ee865d (diff)
indexamajig: Fix incorrect timeout logic
Diffstat (limited to 'src')
-rw-r--r--src/indexamajig.c2
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;