Aargl!! On equality, d==0! Might solve JSON-164?

pull/1/head Release_2.1.0-RC27
Roker 3 years ago
parent 9c03ad38f2
commit 416ab7ac5b

@ -13,7 +13,8 @@ namespace pEp
d |= ( static_cast<unsigned>(a[idx]) ^ static_cast<unsigned>(b[idx]) );
}
return d != 0;
// if d is still 0, the strings are equal.
return d == 0;
}
} // end of namespace pEp

Loading…
Cancel
Save