From: Pierangelo Masarati Date: Fri, 25 Nov 2005 18:34:18 +0000 (+0000) Subject: allow arbitrary base also in tools X-Git-Tag: OPENLDAP_REL_ENG_2_4_BP~694 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=44a1f10d9701259ce3b6d20e82969f07810efc06;p=openldap allow arbitrary base also in tools --- diff --git a/servers/slapd/slapcommon.c b/servers/slapd/slapcommon.c index ec36850cc6..389998655a 100644 --- a/servers/slapd/slapcommon.c +++ b/servers/slapd/slapcommon.c @@ -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 );