mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 12:49:45 +00:00
urlmon: Use protocol_handler in Switch implementation.
This commit is contained in:
parent
8ffd262d75
commit
638c7ac802
@ -822,7 +822,7 @@ static void switch_proc(BindProtocol *bind, task_header_t *t)
|
||||
{
|
||||
switch_task_t *task = (switch_task_t*)t;
|
||||
|
||||
IInternetProtocol_Continue(bind->protocol, &task->data);
|
||||
IInternetProtocol_Continue(bind->protocol_handler, &task->data);
|
||||
|
||||
heap_free(task);
|
||||
}
|
||||
@ -851,7 +851,7 @@ static HRESULT WINAPI BPInternetProtocolSink_Switch(IInternetProtocolSink *iface
|
||||
}
|
||||
|
||||
if(!This->protocol_sink) {
|
||||
IInternetProtocol_Continue(This->protocol, pProtocolData);
|
||||
IInternetProtocol_Continue(This->protocol_handler, pProtocolData);
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user