diff options
-rw-r--r-- | collection/collection_cmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/collection/collection_cmp.c b/collection/collection_cmp.c index 61d2fcc..170ba08 100644 --- a/collection/collection_cmp.c +++ b/collection/collection_cmp.c @@ -85,7 +85,7 @@ int col_compare_items(struct collection_item *first, case COL_CMPIN_PROP_EQU: /* looking for exact match */ /* Compare hashes and lengths first */ - if ((first->phash == first->phash) && + if ((first->phash == second->phash) && (first->property_len == second->property_len)) { /* Collections are case insensitive, sorry... */ cmpres = strncasecmp(first->property, |