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
dbe7718e
Commit
dbe7718e
authored
Mar 18, 2008
by
Andrew Talbot
Committed by
Alexandre Julliard
Mar 19, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urlmon: Assign to structs instead of using memcpy.
parent
39f138a2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
binding.c
dlls/urlmon/binding.c
+2
-2
urlmon_main.c
dlls/urlmon/urlmon_main.c
+1
-1
No files found.
dlls/urlmon/binding.c
View file @
dbe7718e
...
...
@@ -1083,7 +1083,7 @@ static HRESULT WINAPI InternetProtocolSink_Switch(IInternetProtocolSink *iface,
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
pProtocolData
);
task
=
heap_alloc
(
sizeof
(
switch_task_t
));
memcpy
(
&
task
->
data
,
pProtocolData
,
sizeof
(
PROTOCOLDATA
))
;
task
->
data
=
*
pProtocolData
;
push_task
(
This
,
&
task
->
header
,
switch_proc
);
...
...
@@ -1382,7 +1382,7 @@ static HRESULT WINAPI InternetBindInfo_GetBindInfo(IInternetBindInfo *iface,
*
grfBINDF
=
This
->
bindf
;
memcpy
(
pbindinfo
,
&
This
->
bindinfo
,
sizeof
(
BINDINFO
))
;
*
pbindinfo
=
This
->
bindinfo
;
if
(
pbindinfo
->
szExtraInfo
||
pbindinfo
->
szCustomVerb
)
FIXME
(
"copy strings
\n
"
);
...
...
dlls/urlmon/urlmon_main.c
View file @
dbe7718e
...
...
@@ -398,7 +398,7 @@ HRESULT WINAPI CopyStgMedium(const STGMEDIUM *src, STGMEDIUM *dst)
if
(
!
src
||
!
dst
)
return
E_POINTER
;
memcpy
(
dst
,
src
,
sizeof
(
STGMEDIUM
))
;
*
dst
=
*
src
;
switch
(
dst
->
tymed
)
{
case
TYMED_NULL
:
...
...
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