]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#9419 fix comparison
authorTero Saarni <tero.saarni@est.tech>
Mon, 15 Mar 2021 08:00:56 +0000 (10:00 +0200)
committerQuanah Gibson-Mount <quanah@openldap.org>
Mon, 15 Mar 2021 19:03:59 +0000 (19:03 +0000)
libraries/libldap/url.c

index 0328de120136f4cc9dd925829753e910331c9492..72066a942fde1433e8655c13e796f442d30ca56b 100644 (file)
@@ -162,7 +162,7 @@ ldap_is_ldaps_url( LDAP_CONST char *url )
                return 0;
        }
 
-       return strcmp(scheme, "ldaps") == 0 || strcmp(scheme, "pldaps");
+       return strcmp(scheme, "ldaps") == 0 || strcmp(scheme, "pldaps") == 0;
 }
 
 int