]> git.sur5r.net Git - openldap/commitdiff
Remove spurious snprintf(..., "<%s> cannot be deleted") lacking a format arg
authorHallvard Furuseth <hallvard@openldap.org>
Mon, 18 Jul 2005 08:28:25 +0000 (08:28 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Mon, 18 Jul 2005 08:28:25 +0000 (08:28 +0000)
servers/slapd/bconfig.c

index 13091fcc675748790d1f1fdfa58fd5b3646945d5..5c09b9431eab2dbc6936450e6a979b1444295e78 100644 (file)
@@ -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;