allow any base for debug level

This commit is contained in:
Pierangelo Masarati 2005-12-10 11:52:08 +00:00
parent 56258f75db
commit d72b89b53a

View File

@ -109,7 +109,7 @@ doargs(
return( -1 );
}
#ifdef LDAP_DEBUG
if ( lutil_atoi( &level, optarg ) != 0 ) {
if ( lutil_atoix( &level, optarg, 0 ) != 0 ) {
fprintf( stderr, "unable to parse debug flag \"%s\".\n", optarg );
usage( g->myname );
return( -1 );