mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-05-28 04:35:57 -04:00
ITS#8824 mdb_dump: cleanup check for MDB_SUCCESS
This commit is contained in:
parent
06680017d3
commit
5b3df47632
1 changed files with 1 additions and 1 deletions
|
|
@ -131,7 +131,7 @@ static int dumpit(MDB_txn *txn, MDB_dbi dbi, char *name)
|
|||
rc = mdb_cursor_open(txn, dbi, &mc);
|
||||
if (rc) return rc;
|
||||
|
||||
while ((rc = mdb_cursor_get(mc, &key, &data, MDB_NEXT) == MDB_SUCCESS)) {
|
||||
while ((rc = mdb_cursor_get(mc, &key, &data, MDB_NEXT)) == MDB_SUCCESS) {
|
||||
if (gotsig) {
|
||||
rc = EINTR;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue