1
0
Эх сурвалжийг харах

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.
Rich Megginson 15 жил өмнө
parent
commit
d213146b92

+ 0 - 1
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 );