]> git.sur5r.net Git - openldap/commitdiff
cleanup
authorQuanah Gibson-Mount <quanah@openldap.org>
Tue, 27 Nov 2007 20:58:19 +0000 (20:58 +0000)
committerQuanah Gibson-Mount <quanah@openldap.org>
Tue, 27 Nov 2007 20:58:19 +0000 (20:58 +0000)
servers/slapd/overlays/auditlog.c

index 2744d18d4d19786a681a39b2a5e9c4b24b98897d..925cdd7834eb30de02dfb7129c1b1dfb0390fad0 100644 (file)
@@ -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 <filename>\" 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;