This commit is contained in:
Pierangelo Masarati 2005-09-04 20:00:40 +00:00
parent 7fd7001fc2
commit 596f21340e

View File

@ -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