mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
Remove spurious snprintf(..., "<%s> cannot be deleted") lacking a format arg
This commit is contained in:
parent
2b70a083e6
commit
df0e227201
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user