Selaa lähdekoodia

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 vuotta sitten
vanhempi
sitoutus
d213146b92
1 muutettua tiedostoa jossa 0 lisäystä ja 1 poistoa
  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 );