From: Pierangelo Masarati Date: Sat, 17 Dec 2005 00:40:46 +0000 (+0000) Subject: fix syslog level parsing X-Git-Tag: OPENLDAP_REL_ENG_2_4_BP~561 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5b26601fd093d04f5eab7a527ec26928cd949cce;p=openldap fix syslog level parsing --- diff --git a/servers/slapd/main.c b/servers/slapd/main.c index 4011540a36..f9dd88d893 100644 --- a/servers/slapd/main.c +++ b/servers/slapd/main.c @@ -483,7 +483,7 @@ int main( int argc, char **argv ) } case 's': /* set syslog level */ - if ( lutil_atoi( &ldap_syslog, optarg ) != 0 ) { + if ( lutil_atoi( &ldap_syslog_level, optarg ) != 0 ) { fprintf( stderr, "unable to parse syslog level \"%s\"", optarg ); goto destroy; }