]> git.sur5r.net Git - openldap/commitdiff
allow any base for debug level
authorPierangelo Masarati <ando@openldap.org>
Sat, 10 Dec 2005 11:52:08 +0000 (11:52 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sat, 10 Dec 2005 11:52:08 +0000 (11:52 +0000)
servers/slurpd/args.c

index 9d9a6baa2e3ac7edc4f5ab6fa380319a13dd76b5..bf8d16b2b51655ebf34bc241b05ffc1629c690f7 100644 (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 );