From: Quanah Gibson-Mount Date: Tue, 27 Nov 2007 20:58:19 +0000 (+0000) Subject: cleanup X-Git-Tag: OPENLDAP_REL_ENG_2_4_9~20^2~388 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=cb286fa4b12737b69becc059b103b96b4ea655f8;p=openldap cleanup --- diff --git a/servers/slapd/overlays/auditlog.c b/servers/slapd/overlays/auditlog.c index 2744d18d4d..925cdd7834 100644 --- a/servers/slapd/overlays/auditlog.c +++ b/servers/slapd/overlays/auditlog.c @@ -224,34 +224,6 @@ auditlog_db_destroy( return 0; } -#if 0 -static int -auditlog_config( - BackendDB *be, - const char *fname, - int lineno, - int argc, - char **argv -) -{ - slap_overinst *on = (slap_overinst *) be->bd_info; - auditlog_data *ad = on->on_bi.bi_private; - - /* history log file */ - if ( strcasecmp( argv[0], "auditlog" ) == 0 ) { - if ( argc < 2 ) { - Debug( LDAP_DEBUG_ANY, - "%s: line %d: missing filename in \"auditlog \" line\n", - fname, lineno, 0 ); - return( 1 ); - } - ad->ad_logfile = ch_strdup( argv[1] ); - return 0; - } - return SLAP_CONF_UNKNOWN; -} -#endif /* 0 */ - int auditlog_initialize() { int rc;