mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-26 01:29:59 -05:00
Print "<DEFAULT>" instead of "0" when ldapport=0 in ldapsearch -v
This commit is contained in:
parent
22ad6bd6d4
commit
e559531407
1 changed files with 2 additions and 1 deletions
|
|
@ -339,7 +339,8 @@ main( int argc, char **argv )
|
|||
#endif
|
||||
|
||||
if ( verbose ) {
|
||||
fprintf( stderr, "ldap_init( %s, %d )\n",
|
||||
fprintf( stderr,
|
||||
(ldapport ? "ldap_init( %s, %d )\n" : "ldap_init( %s, <DEFAULT> )\n"),
|
||||
(ldaphost != NULL) ? ldaphost : "<DEFAULT>",
|
||||
ldapport );
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue