Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
db2f338b
Commit
db2f338b
authored
Mar 29, 2019
by
Piotr Caban
Committed by
Alexandre Julliard
Mar 29, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wldap32: Don't use strcasecmp.
Signed-off-by:
Piotr Caban
<
piotr@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
fb305103
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
init.c
dlls/wldap32/init.c
+5
-4
No files found.
dlls/wldap32/init.c
View file @
db2f338b
...
...
@@ -30,6 +30,7 @@
#include "windef.h"
#include "winbase.h"
#include "winnls.h"
#include "winternl.h"
#include "winldap_private.h"
#include "wldap32.h"
...
...
@@ -114,10 +115,10 @@ oom:
/* Determine if a URL starts with a known LDAP scheme */
static
BOOL
has_ldap_scheme
(
char
*
url
)
{
return
!
strncase
cmp
(
url
,
"ldap://"
,
7
)
||
!
strncase
cmp
(
url
,
"ldaps://"
,
8
)
||
!
strncase
cmp
(
url
,
"ldapi://"
,
8
)
||
!
strncase
cmp
(
url
,
"cldap://"
,
8
);
return
!
_strni
cmp
(
url
,
"ldap://"
,
7
)
||
!
_strni
cmp
(
url
,
"ldaps://"
,
8
)
||
!
_strni
cmp
(
url
,
"ldapi://"
,
8
)
||
!
_strni
cmp
(
url
,
"cldap://"
,
8
);
}
/* Flatten an array of hostnames into a space separated string of URLs.
...
...
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