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
57f36261
Commit
57f36261
authored
Nov 11, 2007
by
Misha Koshelev
Committed by
Alexandre Julliard
Nov 12, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urlmon: Fix PROTOCOLDATA message passing in IInternetProtocolSink interface of Binding.
parent
0a158e7a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
binding.c
dlls/urlmon/binding.c
+3
-3
No files found.
dlls/urlmon/binding.c
View file @
57f36261
...
...
@@ -622,14 +622,14 @@ static ULONG WINAPI InternetProtocolSink_Release(IInternetProtocolSink *iface)
typedef
struct
{
task_header_t
header
;
PROTOCOLDATA
*
data
;
PROTOCOLDATA
data
;
}
switch_task_t
;
static
void
switch_proc
(
Binding
*
binding
,
task_header_t
*
t
)
{
switch_task_t
*
task
=
(
switch_task_t
*
)
t
;
IInternetProtocol_Continue
(
binding
->
protocol
,
task
->
data
);
IInternetProtocol_Continue
(
binding
->
protocol
,
&
task
->
data
);
HeapFree
(
GetProcessHeap
(),
0
,
task
);
}
...
...
@@ -643,7 +643,7 @@ static HRESULT WINAPI InternetProtocolSink_Switch(IInternetProtocolSink *iface,
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
pProtocolData
);
task
=
HeapAlloc
(
GetProcessHeap
(),
0
,
sizeof
(
switch_task_t
));
task
->
data
=
pProtocolData
;
memcpy
(
&
task
->
data
,
pProtocolData
,
sizeof
(
PROTOCOLDATA
))
;
push_task
(
This
,
&
task
->
header
,
switch_proc
);
...
...
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