From: Howard Chu Date: Tue, 27 Oct 2015 11:46:08 +0000 (+0000) Subject: ITS#8215 fix cd9980c48b0a6b5e4c0fb56dc2a1bc4c845f4040 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=291b6a1a22b47e770bf333e1428767ad40b41f88;p=openldap ITS#8215 fix cd9980c48b0a6b5e4c0fb56dc2a1bc4c845f4040 Wrong function signature --- diff --git a/servers/slapd/bconfig.c b/servers/slapd/bconfig.c index 98cc18009c..5391f56c7d 100644 --- a/servers/slapd/bconfig.c +++ b/servers/slapd/bconfig.c @@ -7597,17 +7597,17 @@ config_tool_entry_modify( BackendDB *be, Entry *e, struct berval *text ) } static int -config_tool_entry_delete( BackendDB *be, Entry *e, struct berval *text ) +config_tool_entry_delete( BackendDB *be, struct berval *ndn, struct berval *text ) { CfBackInfo *cfb = be->be_private; BackendInfo *bi = cfb->cb_db.bd_info; CfEntryInfo *ce, *last; ConfigArgs ca = {0}; - ce = config_find_base( cfb->cb_root, &e->e_nname, &last ); + ce = config_find_base( cfb->cb_root, ndn, &last ); if ( ce && bi && bi->bi_tool_entry_delete ) - return bi->bi_tool_entry_delete( &cfb->cb_db, e, text ); + return bi->bi_tool_entry_delete( &cfb->cb_db, ndn, text ); return LDAP_OTHER; }