Commit f2e6efed authored by Ondřej Kuzník's avatar Ondřej Kuzník Committed by Quanah Gibson-Mount
Browse files

ITS#5768 Avoid extraneous newlines in deref printing

parent 641ecb41
...@@ -2285,7 +2285,6 @@ print_deref( LDAP *ld, LDAPControl *ctrl ) ...@@ -2285,7 +2285,6 @@ print_deref( LDAP *ld, LDAPControl *ctrl )
} }
} }
ptr = lutil_strncopy( ptr, dr->derefVal.bv_val, dr->derefVal.bv_len ); ptr = lutil_strncopy( ptr, dr->derefVal.bv_val, dr->derefVal.bv_len );
*ptr++ = '\n';
*ptr = '\0'; *ptr = '\0';
assert( ptr <= buf + len ); assert( ptr <= buf + len );
......
...@@ -31,9 +31,7 @@ uid: ando ...@@ -31,9 +31,7 @@ uid: ando
dn: cn=Test Group,ou=groups,o=deref dn: cn=Test Group,ou=groups,o=deref
# member: <uid=hyc>;cn=Howard Chu,ou=users,o=deref # member: <uid=hyc>;cn=Howard Chu,ou=users,o=deref
# member: <uid=ando>;cn=Pierangelo Masarati,ou=users,o=deref # member: <uid=ando>;cn=Pierangelo Masarati,ou=users,o=deref
objectClass: groupOfNames objectClass: groupOfNames
cn: Test Group cn: Test Group
member: cn=Howard Chu,ou=users,o=deref member: cn=Howard Chu,ou=users,o=deref
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment