From: Howard Chu Date: Tue, 1 Mar 2005 20:05:20 +0000 (+0000) Subject: Fix slapi plugin info X-Git-Tag: OPENLDAP_REL_ENG_2_3_BP~115 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e509e81ecddd89fb4f4b8664793c3261a1377039;p=openldap Fix slapi plugin info --- diff --git a/servers/slapd/back-monitor/database.c b/servers/slapd/back-monitor/database.c index 1312d891a5..5acedec8ca 100644 --- a/servers/slapd/back-monitor/database.c +++ b/servers/slapd/back-monitor/database.c @@ -30,7 +30,7 @@ #if defined(LDAP_SLAPI) #include "slapi.h" -static int monitor_back_add_plugin( Backend *be, Entry *e ); +static int monitor_back_add_plugin( monitor_info_t *mi, Backend *be, Entry *e ); #endif /* defined(LDAP_SLAPI) */ #if defined(SLAPD_BDB) @@ -391,7 +391,7 @@ monitor_subsys_database_init( } #if defined(LDAP_SLAPI) - monitor_back_add_plugin( be, e ); + monitor_back_add_plugin( mi, be, e ); #endif /* defined(LDAP_SLAPI) */ if ( oi != NULL ) { @@ -829,11 +829,10 @@ done:; #if defined(LDAP_SLAPI) static int -monitor_back_add_plugin( Backend *be, Entry *e_database ) +monitor_back_add_plugin( monitor_info_t *mi, Backend *be, Entry *e_database ) { Slapi_PBlock *pCurrentPB; int i, rc = LDAP_SUCCESS; - monitor_info_t *mi = ( monitor_info_t * )be->be_private; if ( slapi_int_pblock_get_first( be, &pCurrentPB ) != LDAP_SUCCESS ) { /*