Jacek Caban : mshtml: Return NS_OK in GetStatus if channel is NULL.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Jun 26 07:12:54 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: 2218bfcc8e4966f22ad5c1313a48e958421f6028
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=2218bfcc8e4966f22ad5c1313a48e958421f6028

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Sun Jun 25 14:13:48 2006 +0200

mshtml: Return NS_OK in GetStatus if channel is NULL.

---

 dlls/mshtml/nsio.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/mshtml/nsio.c b/dlls/mshtml/nsio.c
index c465154..3c12f4c 100644
--- a/dlls/mshtml/nsio.c
+++ b/dlls/mshtml/nsio.c
@@ -255,8 +255,8 @@ static nsresult NSAPI nsChannel_GetStatu
     if(This->channel)
         return nsIChannel_GetStatus(This->channel, aStatus);
 
-    FIXME("default action not implemented\n");
-    return NS_ERROR_NOT_IMPLEMENTED;
+    TRACE("returning NS_OK\n");
+    return *aStatus = NS_OK;
 }
 
 static nsresult NSAPI nsChannel_Cancel(nsIHttpChannel *iface, nsresult aStatus)




More information about the wine-cvs mailing list