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
716e1486
Commit
716e1486
authored
Jul 11, 2008
by
Andrew Talbot
Committed by
Alexandre Julliard
Jul 11, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
localspl: Remove unneeded address-of operators from array names.
parent
dffba6aa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
localmon.c
dlls/localspl/localmon.c
+2
-2
No files found.
dlls/localspl/localmon.c
View file @
716e1486
...
...
@@ -530,7 +530,7 @@ static BOOL WINAPI localmon_OpenPortW(LPWSTR pName, PHANDLE phPort)
if
(
!
port
)
return
FALSE
;
port
->
type
=
type
;
memcpy
(
&
port
->
nameW
,
pName
,
len
);
memcpy
(
port
->
nameW
,
pName
,
len
);
*
phPort
=
(
HANDLE
)
port
;
EnterCriticalSection
(
&
port_handles_cs
);
...
...
@@ -743,7 +743,7 @@ static BOOL WINAPI localmon_XcvOpenPort(LPCWSTR pName, ACCESS_MASK GrantedAccess
xcv
=
heap_alloc
(
sizeof
(
xcv_t
)
+
len
);
if
(
xcv
)
{
xcv
->
GrantedAccess
=
GrantedAccess
;
memcpy
(
&
xcv
->
nameW
,
pName
,
len
);
memcpy
(
xcv
->
nameW
,
pName
,
len
);
*
phXcv
=
(
HANDLE
)
xcv
;
EnterCriticalSection
(
&
xcv_handles_cs
);
list_add_tail
(
&
xcv_handles
,
&
xcv
->
entry
);
...
...
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