Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
a22de540
Commit
a22de540
authored
Sep 15, 2006
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some uses of str[n]casecmp that should be pg_str[n]casecmp,
per Magnus.
parent
0b52204f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
src/interfaces/libpq/fe-connect.c
src/interfaces/libpq/fe-connect.c
+5
-5
No files found.
src/interfaces/libpq/fe-connect.c
View file @
a22de540
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-connect.c,v 1.33
4 2006/07/27 13:20:24 momjian
Exp $
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-connect.c,v 1.33
5 2006/09/15 21:34:23 tgl
Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -2411,7 +2411,7 @@ ldapServiceLookup(const char *purl, PQconninfoOption *options,
...
@@ -2411,7 +2411,7 @@ ldapServiceLookup(const char *purl, PQconninfoOption *options,
* at each component.
* at each component.
*/
*/
if
(
strncasecmp
(
url
,
LDAP_URL
,
strlen
(
LDAP_URL
))
!=
0
)
if
(
pg_
strncasecmp
(
url
,
LDAP_URL
,
strlen
(
LDAP_URL
))
!=
0
)
{
{
printfPQExpBuffer
(
errorMessage
,
printfPQExpBuffer
(
errorMessage
,
libpq_gettext
(
"bad LDAP URL
\"
%s
\"
: scheme must be ldap://
\n
"
),
purl
);
libpq_gettext
(
"bad LDAP URL
\"
%s
\"
: scheme must be ldap://
\n
"
),
purl
);
...
@@ -2500,11 +2500,11 @@ ldapServiceLookup(const char *purl, PQconninfoOption *options,
...
@@ -2500,11 +2500,11 @@ ldapServiceLookup(const char *purl, PQconninfoOption *options,
}
}
/* set scope */
/* set scope */
if
(
strcasecmp
(
scopestr
,
"base"
)
==
0
)
if
(
pg_
strcasecmp
(
scopestr
,
"base"
)
==
0
)
scope
=
LDAP_SCOPE_BASE
;
scope
=
LDAP_SCOPE_BASE
;
else
if
(
strcasecmp
(
scopestr
,
"one"
)
==
0
)
else
if
(
pg_
strcasecmp
(
scopestr
,
"one"
)
==
0
)
scope
=
LDAP_SCOPE_ONELEVEL
;
scope
=
LDAP_SCOPE_ONELEVEL
;
else
if
(
strcasecmp
(
scopestr
,
"sub"
)
==
0
)
else
if
(
pg_
strcasecmp
(
scopestr
,
"sub"
)
==
0
)
scope
=
LDAP_SCOPE_SUBTREE
;
scope
=
LDAP_SCOPE_SUBTREE
;
else
else
{
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment