diff options
Diffstat (limited to 'utils/hashtest2.c')
-rw-r--r-- | utils/hashtest2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/hashtest2.c b/utils/hashtest2.c index 27ed30722..3b0c62699 100644 --- a/utils/hashtest2.c +++ b/utils/hashtest2.c @@ -83,7 +83,7 @@ static int hash_string(const void *obj, const int flags) static int hashtab_compare_strings(void *a, void *b, int flags) { const struct ht_element *ae = a, *be = b; - return !strcmp(ae->key, be->key) ? CMP_MATCH : 0; + return !strcmp(ae->key, be->key) ? CMP_MATCH | CMP_STOP : 0; } /* random numbers */ |