Fix for mdb_cmp refactoring

vmware
Howard Chu 13 years ago
parent 963c421a97
commit 807841b1aa
  1. 2
      libraries/libmdb/mdb.c

@ -1980,7 +1980,7 @@ memnrcmp(const MDB_val *a, const MDB_val *b)
else else
p1_lim = p1 - b->mv_size; p1_lim = p1 - b->mv_size;
while (p1 >= p1_lim) { while (p1 > p1_lim) {
diff = *p1 - *p2; diff = *p1 - *p2;
if (diff) if (diff)
return diff; return diff;

Loading…
Cancel
Save