]> git.sur5r.net Git - openldap/commitdiff
Fix for mdb_cmp refactoring
authorHoward Chu <hyc@symas.com>
Mon, 5 Sep 2011 23:54:39 +0000 (16:54 -0700)
committerHoward Chu <hyc@symas.com>
Mon, 5 Sep 2011 23:54:39 +0000 (16:54 -0700)
libraries/libmdb/mdb.c

index bf09af860ce13ad8f367234a4e9f66c77aea6c66..01e2243af3ef529b0de2d2b55418fca458f59a1c 100644 (file)
@@ -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;