From 2a9c5154ef298e21efe5ba341d4ea759a392e4ea Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Tue, 14 Dec 2010 15:26:42 +0000 Subject: [PATCH] ITS#6748 Drop possibly-broken memberof log message --- servers/slapd/overlays/memberof.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/servers/slapd/overlays/memberof.c b/servers/slapd/overlays/memberof.c index 88637b200f..1f6671ebbb 100644 --- a/servers/slapd/overlays/memberof.c +++ b/servers/slapd/overlays/memberof.c @@ -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 ); } -- 2.39.5