From: Rein Tollevik Date: Tue, 27 Jan 2009 19:18:13 +0000 (+0000) Subject: ITS#5907 use overlay BackendInfo to read old entry. X-Git-Tag: ACLCHECK_0~927 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e8ef7e631db78d813b37ecf60e929bde6d4f831d;p=openldap ITS#5907 use overlay BackendInfo to read old entry. --- diff --git a/servers/slapd/overlays/accesslog.c b/servers/slapd/overlays/accesslog.c index 90ec25857a..2ddfc1fd84 100644 --- a/servers/slapd/overlays/accesslog.c +++ b/servers/slapd/overlays/accesslog.c @@ -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 )