]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/repl.c
Add ldap_*2name() in <include,libldap>/schema, use them in slapd/schema
[openldap] / servers / slapd / repl.c
index 1b59f2be86b05c3bdc1755b14f35d904294cfabd..8f8b6439221e8c499a3e2e655c588532176c4082 100644 (file)
@@ -1,4 +1,8 @@
 /* repl.c - log modifications for replication purposes */
+/*
+ * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
+ * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
+ */
 
 #include "portable.h"
 
@@ -77,7 +81,8 @@ replog(
                                buf = (char *) ch_malloc( len );
 
                                bufp = buf;
-                               ldif_put_type_and_value( &bufp, ml->ml_type,
+                               ldif_sput( &bufp, LDIF_PUT_VALUE,
+                                       ml->ml_type,
                                    ml->ml_bvalues[i]->bv_val,
                                    ml->ml_bvalues[i]->bv_len );
                                *bufp = '\0';