]> git.sur5r.net Git - openldap/commitdiff
ITS#6162
authorQuanah Gibson-Mount <quanah@openldap.org>
Mon, 8 Jun 2009 20:24:59 +0000 (20:24 +0000)
committerQuanah Gibson-Mount <quanah@openldap.org>
Mon, 8 Jun 2009 20:24:59 +0000 (20:24 +0000)
CHANGES
servers/slapd/bconfig.c

diff --git a/CHANGES b/CHANGES
index c1d913eebd20edf8a02991c2cf10b4dcb310da50..da6646d3222bea759dac47ef3afb1cf13baec9cf 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -19,6 +19,7 @@ OpenLDAP 2.4.17 Engineering
        Fixed slapd moduleload with static backends and modules (ITS#6016)
        Fixed slapd normalization of updated schema attributes (ITS#5540)
        Fixed slapd olcLimits handling (ITS#6159)
+       Fixed slapd olcLogLevel with hex levels (ITS#6162)
        Fixed slapd pagedresults stacked control with overlays (ITS#6056)
        Fixed slapd password-hash incorrect limit on arg length (ITS#6139)
        Fixed slapd readonly restrictions (ITS#6109)
index c1fea158b95bf8eefacf09d0c9c2b622b2768ee3..f60f9f1744815f06a750e0249d2adb2bb9d69598 100644 (file)
@@ -2927,7 +2927,7 @@ config_loglevel(ConfigArgs *c) {
                int     level;
 
                if ( isdigit((unsigned char)c->argv[i][0]) || c->argv[i][0] == '-' ) {
-                       if( lutil_atoi( &level, c->argv[i] ) != 0 ) {
+                       if( lutil_atoix( &level, c->argv[i], 0 ) != 0 ) {
                                snprintf( c->cr_msg, sizeof( c->cr_msg ), "<%s> unable to parse level", c->argv[0] );
                                Debug( LDAP_DEBUG_ANY, "%s: %s \"%s\"\n",
                                        c->log, c->cr_msg, c->argv[i]);