summaryrefslogtreecommitdiff
path: root/parse/htab.c
diff options
context:
space:
mode:
Diffstat (limited to 'parse/htab.c')
-rw-r--r--parse/htab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse/htab.c b/parse/htab.c
index 8f5cb51..1bdad3a 100644
--- a/parse/htab.c
+++ b/parse/htab.c
@@ -150,7 +150,7 @@ searchmore:
}
if (!ht->hashes[i])
return -1;
- if (!ht->cmp(ht->keys[i], k) || (ht->hashes[i] == h && ht->dead[i]))
+ if ((ht->hashes[i] == h && ht->dead[i]) || !ht->cmp(ht->keys[i], k))
goto searchmore; /* collision */
return i;
}