From 807841b1aa2ef3bbf8466ca936f213e5520050fc Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Mon, 5 Sep 2011 16:54:39 -0700 Subject: [PATCH] Fix for mdb_cmp refactoring --- libraries/libmdb/mdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/libmdb/mdb.c b/libraries/libmdb/mdb.c index bf09af8..01e2243 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;