From: Kurt Zeilenga Date: Sat, 28 Aug 2004 04:01:19 +0000 (+0000) Subject: fix typo in last commit X-Git-Tag: OPENLDAP_REL_ENG_2_3_0ALPHA~609 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1ccb9361709216e62deda332f914efd781d7a66e;p=openldap fix typo in last commit --- diff --git a/libraries/libldap/request.c b/libraries/libldap/request.c index ce4673e324..60afad2390 100644 --- a/libraries/libldap/request.c +++ b/libraries/libldap/request.c @@ -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