]> git.sur5r.net Git - openldap/commitdiff
ITS#5907 use overlay BackendInfo to read old entry.
authorRein Tollevik <rein@openldap.org>
Tue, 27 Jan 2009 19:18:13 +0000 (19:18 +0000)
committerRein Tollevik <rein@openldap.org>
Tue, 27 Jan 2009 19:18:13 +0000 (19:18 +0000)
servers/slapd/overlays/accesslog.c

index 90ec25857a0ed91b8dc292a0d321302216feac5b..2ddfc1fd84e0f73203b0a6e1f7ae2293dce7ac7f 100644 (file)
@@ -1770,7 +1770,7 @@ accesslog_op_mod( Operation *op, SlapReply *rs )
                        int rc;
                        Entry *e;
 
-                       op->o_bd->bd_info = on->on_info->oi_orig;
+                       op->o_bd->bd_info = (BackendInfo *)on->on_info;
                        rc = be_entry_get_rw( op, &op->o_req_ndn, NULL, NULL, 0, &e );
                        if ( e ) {
                                if ( test_filter( op, e, li->li_oldf ) == LDAP_COMPARE_TRUE )