Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
06a66688
Commit
06a66688
authored
Oct 15, 2013
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Oct 15, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
net: Use BOOL type where appropriate.
parent
70205f58
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
net.c
programs/net/net.c
+2
-2
No files found.
programs/net/net.c
View file @
06a66688
...
@@ -235,7 +235,7 @@ static BOOL StopService(SC_HANDLE SCManager, SC_HANDLE serviceHandle)
...
@@ -235,7 +235,7 @@ static BOOL StopService(SC_HANDLE SCManager, SC_HANDLE serviceHandle)
static
BOOL
net_service
(
int
operation
,
const
WCHAR
*
service_name
)
static
BOOL
net_service
(
int
operation
,
const
WCHAR
*
service_name
)
{
{
SC_HANDLE
SCManager
,
serviceHandle
;
SC_HANDLE
SCManager
,
serviceHandle
;
BOOL
result
=
0
;
BOOL
result
=
FALSE
;
WCHAR
service_display_name
[
4096
];
WCHAR
service_display_name
[
4096
];
DWORD
buffer_size
;
DWORD
buffer_size
;
...
@@ -288,7 +288,7 @@ static BOOL net_service(int operation, const WCHAR* service_name)
...
@@ -288,7 +288,7 @@ static BOOL net_service(int operation, const WCHAR* service_name)
return
result
;
return
result
;
}
}
static
int
arg_is
(
const
WCHAR
*
str1
,
const
WCHAR
*
str2
)
static
BOOL
arg_is
(
const
WCHAR
*
str1
,
const
WCHAR
*
str2
)
{
{
return
CompareStringW
(
LOCALE_USER_DEFAULT
,
NORM_IGNORECASE
,
str1
,
-
1
,
str2
,
-
1
)
==
CSTR_EQUAL
;
return
CompareStringW
(
LOCALE_USER_DEFAULT
,
NORM_IGNORECASE
,
str1
,
-
1
,
str2
,
-
1
)
==
CSTR_EQUAL
;
}
}
...
...
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