Explorar o código

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 %!s(int64=15) %!d(string=hai) anos
pai
achega
d213146b92
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      ldap/servers/slapd/ldaputil.c

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