Apply ITS#159 (null ldaphost) fix.

This commit is contained in:
Kurt Zeilenga 1999-05-28 00:19:15 +00:00
parent a858809ec0
commit a704ad51ac
2 changed files with 5 additions and 2 deletions

View File

@ -1,13 +1,14 @@
OpenLDAP Change Log
Changes included in OpenLDAP 1.2 Release Engineering
CVS Tag: OPENLDAP_REL_ENG_1_2_1
CVS Tag: OPENLDAP_REL_ENG_1_2
Fixed ud cp == NULL bug (ITS#48)
Fixed ldbm Berkeley DB 2.4 mp_pool init problem (ITS#156)
Fixed slapd modrdn (ITS#78, #153)
Fixed slapd command line usage and log level option (ITS#145)
Fixed slapd acl group extended format parsing (ITS#123)
Fixed slurpd ldap_pvt_thread_create argument typo
Fixed ldapsearch null ldaphost bug (ITS#159)
Added modrdn test.
Updated slapd modify (and modrdn) attribute normalization bugs.
Build environment

View File

@ -266,7 +266,9 @@ char **argv;
#endif
if ( verbose ) {
printf( "ldap_init( %s, %d )\n", ldaphost, ldapport );
printf( "ldap_init( %s, %d )\n",
(ldaphost != NULL) ? ldaphost : "<default>",
ldapport );
}
if (( ld = ldap_init( ldaphost, ldapport )) == NULL ) {