From: Hallvard Furuseth Date: Mon, 18 Jul 2005 08:28:25 +0000 (+0000) Subject: Remove spurious snprintf(..., "<%s> cannot be deleted") lacking a format arg X-Git-Tag: OPENLDAP_AC_BP~363 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=df0e2272015820841bf8f26af9ecdc87d8791506;p=openldap Remove spurious snprintf(..., "<%s> cannot be deleted") lacking a format arg --- diff --git a/servers/slapd/bconfig.c b/servers/slapd/bconfig.c index 13091fcc67..5c09b9431e 100644 --- a/servers/slapd/bconfig.c +++ b/servers/slapd/bconfig.c @@ -3318,8 +3318,6 @@ config_modify_internal( CfEntryInfo *ce, Operation *op, SlapReply *rs, int *idx = NULL; if ( ct && ( ct->arg_type & ARG_NO_DELETE )) { rc = LDAP_OTHER; - snprintf( ca->msg, sizeof(ca->msg), - "<%s> cannot be deleted" ); snprintf(ca->msg, sizeof(ca->msg), "cannot delete %s", ml->sml_desc->ad_cname.bv_val ); goto out;