mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-23 16:19:35 -05:00
Tweak prev commit:
Preserve delete/replace indication from original request
This commit is contained in:
parent
3b565d4310
commit
1b1a0ebf18
1 changed files with 4 additions and 1 deletions
|
|
@ -1081,7 +1081,10 @@ static int accesslog_response(Operation *op, SlapReply *rs) {
|
||||||
ptr = lutil_strcopy( vals[i].bv_val,
|
ptr = lutil_strcopy( vals[i].bv_val,
|
||||||
m->sml_desc->ad_cname.bv_val );
|
m->sml_desc->ad_cname.bv_val );
|
||||||
*ptr++ = ':';
|
*ptr++ = ':';
|
||||||
*ptr++ = '-';
|
if ( m->sml_op == LDAP_MOD_DELETE )
|
||||||
|
*ptr++ = '-';
|
||||||
|
else
|
||||||
|
*ptr++ = '=';
|
||||||
*ptr = '\0';
|
*ptr = '\0';
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue