]> git.sur5r.net Git - openldap/commitdiff
fix typo in last commit
authorKurt Zeilenga <kurt@openldap.org>
Sat, 28 Aug 2004 04:01:19 +0000 (04:01 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Sat, 28 Aug 2004 04:01:19 +0000 (04:01 +0000)
libraries/libldap/request.c

index ce4673e324220ef3b665629ca83fc25e313148af..60afad23900aee7efe072b0c7f2a00be6ff9b657 100644 (file)
@@ -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