From: Pierangelo Masarati Date: Sat, 10 Dec 2005 11:52:08 +0000 (+0000) Subject: allow any base for debug level X-Git-Tag: OPENLDAP_REL_ENG_2_4_BP~613 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d72b89b53a04870b416f6f41715e9dd7ddbdc14d;p=openldap allow any base for debug level --- diff --git a/servers/slurpd/args.c b/servers/slurpd/args.c index 9d9a6baa2e..bf8d16b2b5 100644 --- a/servers/slurpd/args.c +++ b/servers/slurpd/args.c @@ -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 );