From d213146b92c90e4cc86843f6978c9badb4877eb6 Mon Sep 17 00:00:00 2001 From: Rich Megginson Date: Fri, 20 Aug 2010 12:33:01 -0600 Subject: do not terminate unwrapped LDIF line with another newline The function ldif_sput already terminates the line with a newline character - we do not need to add another one when unwrapping a wrapped line. --- ldap/servers/slapd/ldaputil.c | 1 - 1 file changed, 1 deletion(-) (limited to 'ldap') diff --git a/ldap/servers/slapd/ldaputil.c b/ldap/servers/slapd/ldaputil.c index 8b8cf94c..2a9c965a 100644 --- a/ldap/servers/slapd/ldaputil.c +++ b/ldap/servers/slapd/ldaputil.c @@ -228,7 +228,6 @@ slapi_ldif_put_type_and_value_with_options( char **out, const char *t, const cha } *dest++ = *src; } - *dest = '\n'; } #else ldif_put_type_and_value_with_options( out, (char *)t, (char *)val, vlen, options ); -- cgit