mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-04-18 15:20:35 +08:00
Print "<DEFAULT>" instead of "0" when ldapport=0 in ldapsearch -v
This commit is contained in:
parent
22ad6bd6d4
commit
e559531407
@ -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…
x
Reference in New Issue
Block a user