From: Quanah Gibson-Mount Date: Mon, 8 Jun 2009 20:24:59 +0000 (+0000) Subject: ITS#6162 X-Git-Tag: OPENLDAP_REL_ENG_2_4_17~48 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7a7b72fd3de1e493613f0f5f354c3209ca668de9;p=openldap ITS#6162 --- diff --git a/CHANGES b/CHANGES index c1d913eebd..da6646d322 100644 --- 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) diff --git a/servers/slapd/bconfig.c b/servers/slapd/bconfig.c index c1fea158b9..f60f9f1744 100644 --- a/servers/slapd/bconfig.c +++ b/servers/slapd/bconfig.c @@ -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]);