From e509e81ecddd89fb4f4b8664793c3261a1377039 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Tue, 1 Mar 2005 20:05:20 +0000 Subject: [PATCH] Fix slapi plugin info --- servers/slapd/back-monitor/database.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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 ) { /* -- 2.39.5