Fix prev commit

This commit is contained in:
Howard Chu 2007-02-11 14:37:21 +00:00
parent 461461937b
commit a031b99546

View File

@ -387,10 +387,12 @@ got_soc:
} }
} }
} }
snprintf( textbuf, textlen, if ( k ) {
"class '%s' not allowed by content rule '%s'", snprintf( textbuf, textlen,
oc->soc_cname.bv_val, "class '%s' not allowed by content rule '%s'",
ldap_contentrule2name( &cr->scr_crule ) ); oc->soc_cname.bv_val,
ldap_contentrule2name( &cr->scr_crule ) );
}
} else if ( global_disallows & SLAP_DISALLOW_AUX_WO_CR ) { } else if ( global_disallows & SLAP_DISALLOW_AUX_WO_CR ) {
k = -1; k = -1;
snprintf( textbuf, textlen, snprintf( textbuf, textlen,