diff options
author | Rich Megginson <rmeggins@redhat.com> | 2010-08-20 12:33:01 -0600 |
---|---|---|
committer | Rich Megginson <rmeggins@redhat.com> | 2010-08-31 10:36:02 -0600 |
commit | c40f6877c1c528e77751dea94d86bd9aaaaf26cb (patch) | |
tree | a0299dcf2aabb51c2a6317c97216d80cbdac8859 | |
parent | d48a2c94731a25fc63a294e854b76bedfd0ced22 (diff) | |
download | ds-c40f6877c1c528e77751dea94d86bd9aaaaf26cb.tar.gz ds-c40f6877c1c528e77751dea94d86bd9aaaaf26cb.tar.xz ds-c40f6877c1c528e77751dea94d86bd9aaaaf26cb.zip |
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.
-rw-r--r-- | ldap/servers/slapd/ldaputil.c | 1 |
1 files changed, 0 insertions, 1 deletions
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 ); |