summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRich Megginson <rmeggins@redhat.com>2010-08-20 12:33:01 -0600
committerRich Megginson <rmeggins@redhat.com>2010-08-31 13:35:54 -0600
commitd213146b92c90e4cc86843f6978c9badb4877eb6 (patch)
tree8d3df61a8db303b39c17e633e7397b24780e3a27
parent84819d728de922c2fe6869ad22271e4fe94fc8a1 (diff)
downloadds-d213146b92c90e4cc86843f6978c9badb4877eb6.tar.gz
ds-d213146b92c90e4cc86843f6978c9badb4877eb6.tar.xz
ds-d213146b92c90e4cc86843f6978c9badb4877eb6.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.c1
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 );