mshtml: Set default original uri in NewChannelFromURI.

This commit is contained in:
Jacek Caban 2006-02-20 16:43:32 +01:00 committed by Alexandre Julliard
parent a2813f7c2e
commit 416f504cdd
1 changed files with 3 additions and 1 deletions

View File

@ -1423,7 +1423,9 @@ static nsresult NSAPI nsIOService_NewChannelFromURI(nsIIOService *iface, nsIURI
ret->load_group = NULL;
ret->notif_callback = NULL;
ret->load_flags = 0;
ret->original_uri = NULL;
nsIURI_AddRef(aURI);
ret->original_uri = aURI;
if(channel)
nsIChannel_QueryInterface(channel, &IID_nsIHttpChannel, (void**)&ret->http_channel);