]> git.sur5r.net Git - openldap/commitdiff
cleanup?
authorPierangelo Masarati <ando@openldap.org>
Thu, 3 Apr 2003 21:18:14 +0000 (21:18 +0000)
committerPierangelo Masarati <ando@openldap.org>
Thu, 3 Apr 2003 21:18:14 +0000 (21:18 +0000)
servers/slapd/backend.c

index 1230cf2af4fcea8eaef97e6a166fa1d3bae0dc75..2adab86145d9896576ff4c615851a71fda5896d4 100644 (file)
@@ -1086,10 +1086,9 @@ be_entry_get_rw(
        op->o_bd = select_backend( ndn, 0, 0 );
 
        if (op->o_bd == NULL) {
-               op->o_bd = be;  
                rc = LDAP_NO_SUCH_OBJECT;
        } else if ( op->o_bd->be_fetch ) {
-               rc = op->o_bd->be_fetch( op, ndn,
+               rc = ( op->o_bd->be_fetch )( op, ndn,
                        oc, at, rw, e );
        } else {
                rc = LDAP_UNWILLING_TO_PERFORM;