From e8ef7e631db78d813b37ecf60e929bde6d4f831d Mon Sep 17 00:00:00 2001 From: Rein Tollevik Date: Tue, 27 Jan 2009 19:18:13 +0000 Subject: [PATCH] ITS#5907 use overlay BackendInfo to read old entry. --- servers/slapd/overlays/accesslog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 )