fix syslog level parsing

This commit is contained in:
Pierangelo Masarati 2005-12-17 00:40:46 +00:00
parent 7941652ed4
commit 5b26601fd0

View File

@ -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;
}