mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
Revert integer type change from rev 1.281 (ITS#5035) for now. It just
replaced one inttype bug with another, the proper fix is to change the API.
This commit is contained in:
parent
0de176e874
commit
259c1baf23
@ -2446,8 +2446,7 @@ int
|
|||||||
slap_loglevel_get( struct berval *s, int *l )
|
slap_loglevel_get( struct berval *s, int *l )
|
||||||
{
|
{
|
||||||
int rc;
|
int rc;
|
||||||
unsigned i;
|
slap_mask_t m, i;
|
||||||
slap_mask_t m;
|
|
||||||
|
|
||||||
if ( loglevel_ops == NULL ) {
|
if ( loglevel_ops == NULL ) {
|
||||||
loglevel_init();
|
loglevel_init();
|
||||||
@ -2467,7 +2466,7 @@ slap_loglevel_get( struct berval *s, int *l )
|
|||||||
rc = slap_verbmasks_append( &loglevel_ops, i, s, loglevel_ignore );
|
rc = slap_verbmasks_append( &loglevel_ops, i, s, loglevel_ignore );
|
||||||
|
|
||||||
if ( rc != 0 ) {
|
if ( rc != 0 ) {
|
||||||
Debug( LDAP_DEBUG_ANY, "slap_loglevel_get(%u, \"%s\") failed\n",
|
Debug( LDAP_DEBUG_ANY, "slap_loglevel_get(%lu, \"%s\") failed\n",
|
||||||
i, s->bv_val, 0 );
|
i, s->bv_val, 0 );
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user