From: Howard Chu Date: Thu, 2 Nov 2006 19:26:04 +0000 (+0000) Subject: Tweak prev commit: X-Git-Tag: OPENLDAP_REL_ENG_2_3_MP~15 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1b1a0ebf18fece3e82ee908870dfdcead780fe2d;p=openldap Tweak prev commit: Preserve delete/replace indication from original request --- diff --git a/servers/slapd/overlays/accesslog.c b/servers/slapd/overlays/accesslog.c index a98d11bf6d..b57c197cf7 100644 --- a/servers/slapd/overlays/accesslog.c +++ b/servers/slapd/overlays/accesslog.c @@ -1081,7 +1081,10 @@ static int accesslog_response(Operation *op, SlapReply *rs) { ptr = lutil_strcopy( vals[i].bv_val, m->sml_desc->ad_cname.bv_val ); *ptr++ = ':'; - *ptr++ = '-'; + if ( m->sml_op == LDAP_MOD_DELETE ) + *ptr++ = '-'; + else + *ptr++ = '='; *ptr = '\0'; i++; }