mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-07 14:18:15 +08:00
cleanup
This commit is contained in:
parent
7a6b0857b6
commit
e779235391
@ -99,6 +99,8 @@ LDAPRDN_validate( LDAPRDN rdn )
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return LDAP_SUCCESS;
|
||||
}
|
||||
|
||||
/*
|
||||
@ -207,7 +209,6 @@ rdnValidate(
|
||||
struct berval *in )
|
||||
{
|
||||
int rc;
|
||||
LDAPDN dn = NULL;
|
||||
LDAPRDN rdn;
|
||||
char* p;
|
||||
|
||||
@ -1018,14 +1019,15 @@ rdnMatch(
|
||||
}
|
||||
|
||||
#ifdef NEW_LOGGING
|
||||
LDAP_LOG( CONFIG, ENTRY, "dnMatch: %d\n %s\n %s\n",
|
||||
LDAP_LOG( CONFIG, ENTRY, "rdnMatch: %d\n %s\n %s\n",
|
||||
match, value->bv_val, asserted->bv_val );
|
||||
#else
|
||||
Debug( LDAP_DEBUG_ARGS, "dnMatch %d\n\t\"%s\"\n\t\"%s\"\n",
|
||||
Debug( LDAP_DEBUG_ARGS, "rdnMatch %d\n\t\"%s\"\n\t\"%s\"\n",
|
||||
match, value->bv_val, asserted->bv_val );
|
||||
#endif
|
||||
|
||||
*matchp = match;
|
||||
|
||||
return( LDAP_SUCCESS );
|
||||
}
|
||||
|
||||
|
@ -818,7 +818,7 @@ slapi_modrdn_internal(
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
if ( rdnValidate( &op->oq_modrdn.rs_nnewrdn ) != LDAP_SUCCESS ) {
|
||||
if ( rdn_validate( &op->oq_modrdn.rs_nnewrdn ) != LDAP_SUCCESS ) {
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user