From 1ccb9361709216e62deda332f914efd781d7a66e Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Sat, 28 Aug 2004 04:01:19 +0000 Subject: [PATCH] fix typo in last commit --- libraries/libldap/request.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5