mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-30 13:30:57 +08:00
cleanup "matched" output
This commit is contained in:
parent
4ce1deab46
commit
e45d11b42f
@ -73,7 +73,9 @@ tester_ldap_error( LDAP *ld, const char *fname )
|
||||
|
||||
ldap_get_option( ld, LDAP_OPT_MATCHED_DN, (void *)&text );
|
||||
if ( text != NULL ) {
|
||||
fprintf( stderr, "\tmatched: %s\n", text );
|
||||
if ( text[ 0 ] != '\0' ) {
|
||||
fprintf( stderr, "\tmatched: %s\n", text );
|
||||
}
|
||||
ldap_memfree( text );
|
||||
text = NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user