mirror of
https://github.com/reactos/wine.git
synced 2025-01-24 04:45:18 +00:00
mshtml: Fixed handling channels without container and necko channel.
This commit is contained in:
parent
9ae9109d39
commit
c02b46d987
@ -761,7 +761,9 @@ static nsresult NSAPI nsChannel_AsyncOpen(nsIHttpChannel *iface, nsIStreamListen
|
||||
nsIWineURI_GetNSContainer(This->uri, &container);
|
||||
if(!container) {
|
||||
TRACE("container = NULL\n");
|
||||
return nsIChannel_AsyncOpen(This->channel, aListener, aContext);
|
||||
return This->channel
|
||||
? nsIChannel_AsyncOpen(This->channel, aListener, aContext)
|
||||
: NS_ERROR_UNEXPECTED;
|
||||
}
|
||||
|
||||
nsIWineURI_GetIsDocumentURI(This->uri, &is_doc_uri);
|
||||
|
Loading…
x
Reference in New Issue
Block a user