mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-21 15:19:34 -05:00
cleanup "matched" output
This commit is contained in:
parent
4ce1deab46
commit
e45d11b42f
1 changed files with 3 additions and 1 deletions
|
|
@ -73,7 +73,9 @@ tester_ldap_error( LDAP *ld, const char *fname )
|
||||||
|
|
||||||
ldap_get_option( ld, LDAP_OPT_MATCHED_DN, (void *)&text );
|
ldap_get_option( ld, LDAP_OPT_MATCHED_DN, (void *)&text );
|
||||||
if ( text != NULL ) {
|
if ( text != NULL ) {
|
||||||
|
if ( text[ 0 ] != '\0' ) {
|
||||||
fprintf( stderr, "\tmatched: %s\n", text );
|
fprintf( stderr, "\tmatched: %s\n", text );
|
||||||
|
}
|
||||||
ldap_memfree( text );
|
ldap_memfree( text );
|
||||||
text = NULL;
|
text = NULL;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue