mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-24 13:24:56 +08:00
fix syslog level parsing
This commit is contained in:
parent
7941652ed4
commit
5b26601fd0
@ -483,7 +483,7 @@ int main( int argc, char **argv )
|
|||||||
}
|
}
|
||||||
|
|
||||||
case 's': /* set syslog level */
|
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 );
|
fprintf( stderr, "unable to parse syslog level \"%s\"", optarg );
|
||||||
goto destroy;
|
goto destroy;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user