mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
fix typo in last commit
This commit is contained in:
parent
c9dd33b520
commit
1ccb936170
@ -459,7 +459,7 @@ find_connection( LDAP *ld, LDAPURLDesc *srv, int any )
|
||||
lsu_port = ldap_pvt_url_scheme_port( lsu->lud_scheme,
|
||||
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'
|
||||
&& lsu->lud_host != NULL && *lsu->lud_host != '\0'
|
||||
&& strcasecmp( lsu->lud_host, lcu->lud_host ) == 0
|
||||
|
Loading…
Reference in New Issue
Block a user