mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-30 03:29:35 -05:00
ITS#5980 - find_connection should match URLs with empty hostname
This commit is contained in:
parent
715b03d5ab
commit
ee5b6762ae
1 changed files with 1 additions and 2 deletions
|
|
@ -635,8 +635,7 @@ find_connection( LDAP *ld, LDAPURLDesc *srv, int any )
|
|||
|
||||
if ( lsu_port == lcu_port
|
||||
&& strcmp( lcu->lud_scheme, lsu->lud_scheme ) == 0
|
||||
&& lcu->lud_host != NULL && *lcu->lud_host != '\0'
|
||||
&& lsu->lud_host != NULL && *lsu->lud_host != '\0'
|
||||
&& lcu->lud_host != NULL && lsu->lud_host != NULL
|
||||
&& strcasecmp( lsu->lud_host, lcu->lud_host ) == 0 )
|
||||
{
|
||||
found = 1;
|
||||
|
|
|
|||
Loading…
Reference in a new issue