mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-12 10:54:48 +08:00
Cleanup mdb_ad_get
This commit is contained in:
parent
ff6bc13166
commit
b07e31aa02
@ -617,7 +617,7 @@ int mdb_ad_get( struct mdb_info *mdb, MDB_txn *txn, AttributeDescription *ad )
|
|||||||
if ( rc == MDB_SUCCESS ) {
|
if ( rc == MDB_SUCCESS ) {
|
||||||
mdb->mi_adxs[ad->ad_index] = i;
|
mdb->mi_adxs[ad->ad_index] = i;
|
||||||
mdb->mi_ads[i] = ad;
|
mdb->mi_ads[i] = ad;
|
||||||
mdb->mi_numads++;
|
mdb->mi_numads = i;
|
||||||
} else {
|
} else {
|
||||||
Debug( LDAP_DEBUG_ANY,
|
Debug( LDAP_DEBUG_ANY,
|
||||||
"mdb_ad_get: mdb_put failed %s(%d)\n",
|
"mdb_ad_get: mdb_put failed %s(%d)\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user