From: Howard Chu Date: Mon, 5 Sep 2011 23:54:39 +0000 (-0700) Subject: Fix for mdb_cmp refactoring X-Git-Tag: OPENLDAP_REL_ENG_2_4_27~148^2~57 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=807841b1aa2ef3bbf8466ca936f213e5520050fc;p=openldap Fix for mdb_cmp refactoring --- diff --git a/libraries/libmdb/mdb.c b/libraries/libmdb/mdb.c index bf09af860c..01e2243af3 100644 --- a/libraries/libmdb/mdb.c +++ b/libraries/libmdb/mdb.c @@ -1980,7 +1980,7 @@ memnrcmp(const MDB_val *a, const MDB_val *b) else p1_lim = p1 - b->mv_size; - while (p1 >= p1_lim) { + while (p1 > p1_lim) { diff = *p1 - *p2; if (diff) return diff;