]> git.sur5r.net Git - openldap/commitdiff
allow arbitrary base also in tools
authorPierangelo Masarati <ando@openldap.org>
Fri, 25 Nov 2005 18:34:18 +0000 (18:34 +0000)
committerPierangelo Masarati <ando@openldap.org>
Fri, 25 Nov 2005 18:34:18 +0000 (18:34 +0000)
servers/slapd/slapcommon.c

index ec36850cc6ad14227e02507989141ecc50f5d0c8..389998655a1a8fcf4627dab516789da61d4bab64 100644 (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 );