mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-03 20:40:05 -05:00
fix lutil_set_debug_level call
This commit is contained in:
parent
9e7accb034
commit
696de70df4
1 changed files with 2 additions and 2 deletions
|
|
@ -803,7 +803,7 @@ read_config( const char *fname )
|
|||
value_add( &default_referral, vals );
|
||||
|
||||
} else if ( strcasecmp( cargv[0], "debug" ) == 0 ) {
|
||||
int level;
|
||||
int level;
|
||||
if ( cargc < 3 ) {
|
||||
Debug( LDAP_DEBUG_ANY,
|
||||
"%s: line %d: Error in debug directive, \"debug subsys level\"\n",
|
||||
|
|
@ -812,7 +812,7 @@ read_config( const char *fname )
|
|||
}
|
||||
level = atoi( cargv[2] );
|
||||
if ( level <= 0 ) level = lutil_mnem2level( cargv[2] );
|
||||
lutil_set_debug_level( cargv[1], atoi( cargv[2] ) );
|
||||
lutil_set_debug_level( cargv[1], level );
|
||||
/* specify an Object Identifier macro */
|
||||
} else if ( strcasecmp( cargv[0], "objectidentifier" ) == 0 ) {
|
||||
parse_oidm( fname, lineno, cargc, cargv );
|
||||
|
|
|
|||
Loading…
Reference in a new issue