summaryrefslogtreecommitdiffstats
path: root/ldap/servers/slapd/auditlog.c
diff options
context:
space:
mode:
Diffstat (limited to 'ldap/servers/slapd/auditlog.c')
-rw-r--r--ldap/servers/slapd/auditlog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ldap/servers/slapd/auditlog.c b/ldap/servers/slapd/auditlog.c
index 7a757845..3cca975f 100644
--- a/ldap/servers/slapd/auditlog.c
+++ b/ldap/servers/slapd/auditlog.c
@@ -195,9 +195,9 @@ write_audit_file(
len = LDIF_SIZE_NEEDED( len, mods[j]->mod_bvalues[i]->bv_len ) + 1;
buf = slapi_ch_malloc( len );
bufp = buf;
- ldif_put_type_and_value( &bufp, mods[j]->mod_type,
+ slapi_ldif_put_type_and_value_with_options( &bufp, mods[j]->mod_type,
mods[j]->mod_bvalues[i]->bv_val,
- mods[j]->mod_bvalues[i]->bv_len );
+ mods[j]->mod_bvalues[i]->bv_len, 0 );
*bufp = '\0';
addlenstr( l, buf );
slapi_ch_free( (void**)&buf );