Remove spurious snprintf(..., "<%s> cannot be deleted") lacking a format arg

This commit is contained in:
Hallvard Furuseth 2005-07-18 08:28:25 +00:00
parent 2b70a083e6
commit df0e227201

View File

@ -3318,8 +3318,6 @@ config_modify_internal( CfEntryInfo *ce, Operation *op, SlapReply *rs,
int *idx = NULL; int *idx = NULL;
if ( ct && ( ct->arg_type & ARG_NO_DELETE )) { if ( ct && ( ct->arg_type & ARG_NO_DELETE )) {
rc = LDAP_OTHER; rc = LDAP_OTHER;
snprintf( ca->msg, sizeof(ca->msg),
"<%s> cannot be deleted" );
snprintf(ca->msg, sizeof(ca->msg), "cannot delete %s", snprintf(ca->msg, sizeof(ca->msg), "cannot delete %s",
ml->sml_desc->ad_cname.bv_val ); ml->sml_desc->ad_cname.bv_val );
goto out; goto out;