]> git.sur5r.net Git - openldap/commitdiff
ITS#6748 Drop possibly-broken memberof log message
authorHallvard Furuseth <hallvard@openldap.org>
Tue, 14 Dec 2010 15:26:42 +0000 (15:26 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Tue, 14 Dec 2010 15:26:42 +0000 (15:26 +0000)
servers/slapd/overlays/memberof.c

index 88637b200fd40d5f11ddba6cbebc544c80ed7d74..1f6671ebbb8936b6fc269a63f4a8d702de66b3c7 100644 (file)
@@ -401,9 +401,8 @@ memberof_value_modify(
                if ( rs2.sr_err != LDAP_SUCCESS ) {
                        char buf[ SLAP_TEXT_BUFLEN ];
                        snprintf( buf, sizeof( buf ),
-                               "memberof_value_modify %s=\"%s\" failed err=%d text=%s",
-                               ad->ad_cname.bv_val, new_dn->bv_val, rs2.sr_err,
-                               rs2.sr_text ? rs2.sr_text : "" );
+                               "memberof_value_modify %s=\"%s\" failed err=%d",
+                               ad->ad_cname.bv_val, new_dn->bv_val, rs2.sr_err );
                        Debug( LDAP_DEBUG_ANY, "%s: %s\n",
                                op->o_log_prefix, buf, 0 );
                }
@@ -436,9 +435,8 @@ memberof_value_modify(
                if ( rs2.sr_err != LDAP_SUCCESS ) {
                        char buf[ SLAP_TEXT_BUFLEN ];
                        snprintf( buf, sizeof( buf ),
-                               "memberof_value_modify %s=\"%s\" failed err=%d text=%s",
-                               ad->ad_cname.bv_val, old_dn->bv_val, rs2.sr_err,
-                               rs2.sr_text ? rs2.sr_text : "" );
+                               "memberof_value_modify %s=\"%s\" failed err=%d",
+                               ad->ad_cname.bv_val, old_dn->bv_val, rs2.sr_err );
                        Debug( LDAP_DEBUG_ANY, "%s: %s\n",
                                op->o_log_prefix, buf, 0 );
                }