allow arbitrary base also in tools

This commit is contained in:
Pierangelo Masarati 2005-11-25 18:34:18 +00:00
parent 4a8550da9a
commit 44a1f10d97

View file

@ -276,7 +276,7 @@ slap_tool_init(
exit( EXIT_FAILURE );
}
} else if ( lutil_atoi( &level, optarg ) != 0 ) {
} else if ( lutil_atoix( &level, optarg, 0 ) != 0 ) {
fprintf( stderr,
"unrecognized log level "
"\"%s\"\n", optarg );