]> git.sur5r.net Git - openldap/commitdiff
Fix prev commit, attr_find args
authorHoward Chu <hyc@openldap.org>
Tue, 18 Aug 2009 20:35:02 +0000 (20:35 +0000)
committerHoward Chu <hyc@openldap.org>
Tue, 18 Aug 2009 20:35:02 +0000 (20:35 +0000)
servers/slapd/back-monitor/database.c

index 68811f44a6d889cefabf968f9b96f862a5f2e269..294ab0cb4c31d4c92154f5ad7019f5418df37ae9 100644 (file)
@@ -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;