From: Ondřej Kuzník Date: Mon, 4 Oct 2021 12:43:25 +0000 (+0100) Subject: ITS#6949 Remove dead code from lloadd X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8894f00fe4afba98b3c201be12b41dfec37f74eb;p=thirdparty%2Fopenldap.git ITS#6949 Remove dead code from lloadd --- diff --git a/servers/lloadd/config.c b/servers/lloadd/config.c index 566625273f..1e5dd169f5 100644 --- a/servers/lloadd/config.c +++ b/servers/lloadd/config.c @@ -2062,10 +2062,6 @@ loglevel_print( FILE *out ) loglevel_ops[i].word.bv_val, mask, mask ); } - fprintf( out, - "\nNOTE: custom log subsystems may be later installed " - "by specific code\n\n" ); - return 0; } @@ -2080,24 +2076,6 @@ config_loglevel( ConfigArgs *c ) loglevel_init(); } - if ( c->op == SLAP_CONFIG_EMIT ) { - /* Get default or commandline slapd setting */ - if ( ldap_syslog && !config_syslog ) config_syslog = ldap_syslog; - return loglevel2bvarray( config_syslog, &c->rvalue_vals ); - - } else if ( c->op == LDAP_MOD_DELETE ) { - if ( !c->line ) { - config_syslog = 0; - } else { - i = verb_to_mask( c->line, loglevel_ops ); - config_syslog &= ~loglevel_ops[i].mask; - } - if ( slapMode & SLAP_SERVER_MODE ) { - ldap_syslog = config_syslog; - } - return 0; - } - for ( i = 1; i < c->argc; i++ ) { int level;