mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-12 10:54:48 +08:00
cleanup
This commit is contained in:
parent
7fd7001fc2
commit
596f21340e
@ -1184,19 +1184,17 @@ be_entry_get_rw(
|
||||
int rw,
|
||||
Entry **e )
|
||||
{
|
||||
int rc;
|
||||
|
||||
*e = NULL;
|
||||
|
||||
if (op->o_bd == NULL) {
|
||||
rc = LDAP_NO_SUCH_OBJECT;
|
||||
} else if ( op->o_bd->be_fetch ) {
|
||||
rc = ( op->o_bd->be_fetch )( op, ndn,
|
||||
oc, at, rw, e );
|
||||
} else {
|
||||
rc = LDAP_UNWILLING_TO_PERFORM;
|
||||
if ( op->o_bd == NULL ) {
|
||||
return LDAP_NO_SUCH_OBJECT;
|
||||
}
|
||||
return rc;
|
||||
|
||||
if ( op->o_bd->be_fetch ) {
|
||||
return op->o_bd->be_fetch( op, ndn, oc, at, rw, e );
|
||||
}
|
||||
|
||||
return LDAP_UNWILLING_TO_PERFORM;
|
||||
}
|
||||
|
||||
int
|
||||
|
Loading…
Reference in New Issue
Block a user