mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
Fix logic error in slap_mods_no_repl_user_mod_check()
This commit is contained in:
parent
6f0edd6c22
commit
40ec064b66
1 changed files with 1 additions and 1 deletions
|
|
@ -541,7 +541,7 @@ slap_mods_no_repl_user_mod_check(
|
|||
|
||||
/* check doesn't already appear */
|
||||
for ( modp = ml; modp != NULL; modp = modp->sml_next ) {
|
||||
if ( mods->sml_desc == modp->sml_desc ) {
|
||||
if ( mods->sml_desc == modp->sml_desc && mods != modp ) {
|
||||
snprintf( textbuf, textlen,
|
||||
"attribute '%s' provided more than once",
|
||||
mods->sml_desc->ad_cname.bv_val );
|
||||
|
|
|
|||
Loading…
Reference in a new issue