From: Howard Chu Date: Tue, 18 Aug 2009 20:35:02 +0000 (+0000) Subject: Fix prev commit, attr_find args X-Git-Tag: ACLCHECK_0~295 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=52cd3606809dfc756f051d0624e4e4fbc37d7e58;p=openldap Fix prev commit, attr_find args --- diff --git a/servers/slapd/back-monitor/database.c b/servers/slapd/back-monitor/database.c index 68811f44a6..294ab0cb4c 100644 --- a/servers/slapd/back-monitor/database.c +++ b/servers/slapd/back-monitor/database.c @@ -502,7 +502,7 @@ done:; mp = ( monitor_entry_t * ) (*ep)->e_private; for ( e_ov = mp->mp_children; e_ov; ) { - Attribute *a = attr_find( e_ov, mi->mi_ad_monitoredInfo ); + Attribute *a = attr_find( e_ov->e_attrs, mi->mi_ad_monitoredInfo ); if ( a != NULL && bvmatch( &a->a_nvals[ 0 ], &ov_type ) ) { *ndn_out = e_ov->e_nname;