From 291b6a1a22b47e770bf333e1428767ad40b41f88 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Tue, 27 Oct 2015 11:46:08 +0000 Subject: [PATCH] ITS#8215 fix cd9980c48b0a6b5e4c0fb56dc2a1bc4c845f4040 Wrong function signature --- servers/slapd/bconfig.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; } -- 2.39.5