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
8610acde
Commit
8610acde
authored
Oct 01, 2013
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Oct 02, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wldap32: Use BOOL type where appropriate.
parent
0ab03840
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
init.c
dlls/wldap32/init.c
+5
-6
No files found.
dlls/wldap32/init.c
View file @
8610acde
...
...
@@ -113,13 +113,12 @@ oom:
}
/* Determine if a URL starts with a known LDAP scheme */
static
int
has_ldap_scheme
(
char
*
url
)
static
BOOL
has_ldap_scheme
(
char
*
url
)
{
if
(
!
strncasecmp
(
url
,
"ldap://"
,
7
)
||
!
strncasecmp
(
url
,
"ldaps://"
,
8
)
||
!
strncasecmp
(
url
,
"ldapi://"
,
8
)
||
!
strncasecmp
(
url
,
"cldap://"
,
8
))
return
1
;
return
0
;
return
!
strncasecmp
(
url
,
"ldap://"
,
7
)
||
!
strncasecmp
(
url
,
"ldaps://"
,
8
)
||
!
strncasecmp
(
url
,
"ldapi://"
,
8
)
||
!
strncasecmp
(
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