fix typo in last commit

This commit is contained in:
Kurt Zeilenga 2004-08-28 04:01:19 +00:00
parent c9dd33b520
commit 1ccb936170

View File

@ -459,7 +459,7 @@ find_connection( LDAP *ld, LDAPURLDesc *srv, int any )
lsu_port = ldap_pvt_url_scheme_port( lsu->lud_scheme, lsu_port = ldap_pvt_url_scheme_port( lsu->lud_scheme,
lsu->lud_port ); lsu->lud_port );
if ( strcmp( lcu->lud_scheme, lsu_scheme ) if ( strcmp( lcu->lud_scheme, lsu->lud_scheme ) == 0
&& lcu->lud_host != NULL && *lcu->lud_host != '\0' && lcu->lud_host != NULL && *lcu->lud_host != '\0'
&& lsu->lud_host != NULL && *lsu->lud_host != '\0' && lsu->lud_host != NULL && *lsu->lud_host != '\0'
&& strcasecmp( lsu->lud_host, lcu->lud_host ) == 0 && strcasecmp( lsu->lud_host, lcu->lud_host ) == 0