*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/interfaces/libpq/fe-connect.c,v 1.334 2006/07/27 13:20:24 momjian Exp $
+ * $PostgreSQL: pgsql/src/interfaces/libpq/fe-connect.c,v 1.335 2006/09/15 21:34:23 tgl Exp $
*
*-------------------------------------------------------------------------
*/
* at each component.
*/
- if (strncasecmp(url, LDAP_URL, strlen(LDAP_URL)) != 0)
+ if (pg_strncasecmp(url, LDAP_URL, strlen(LDAP_URL)) != 0)
{
printfPQExpBuffer(errorMessage,
libpq_gettext("bad LDAP URL \"%s\": scheme must be ldap://\n"), purl);
}
/* set scope */
- if (strcasecmp(scopestr, "base") == 0)
+ if (pg_strcasecmp(scopestr, "base") == 0)
scope = LDAP_SCOPE_BASE;
- else if (strcasecmp(scopestr, "one") == 0)
+ else if (pg_strcasecmp(scopestr, "one") == 0)
scope = LDAP_SCOPE_ONELEVEL;
- else if (strcasecmp(scopestr, "sub") == 0)
+ else if (pg_strcasecmp(scopestr, "sub") == 0)
scope = LDAP_SCOPE_SUBTREE;
else
{