Use proper return value for ietf_attr_t.compare.

This commit is contained in:
Tobias Brunner
2011-04-19 13:48:50 +02:00
parent e78c915241
commit e0d388f2e3
@@ -331,7 +331,7 @@ static bool matches(private_ietf_attributes_t *this, private_ietf_attributes_t *
/* look for at least one common attribute */ /* look for at least one common attribute */
while (TRUE) while (TRUE)
{ {
bool cmp = attr_a->compare(attr_a, attr_b); int cmp = attr_a->compare(attr_a, attr_b);
if (cmp == 0) if (cmp == 0)
{ {