Andrew Eikum : mshtml: Return success in HTTPChannel::SetRequestMethod.

Alexandre Julliard julliard at winehq.org
Mon Apr 5 11:22:59 CDT 2010


Module: wine
Branch: master
Commit: b688fd0de3d74a5da4ea594cd8fda91cbbbb1f22
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=b688fd0de3d74a5da4ea594cd8fda91cbbbb1f22

Author: Andrew Eikum <aeikum at codeweavers.com>
Date:   Fri Apr  2 17:31:39 2010 -0500

mshtml: Return success in HTTPChannel::SetRequestMethod.

Request method is determined by Wine on bind, so return success in this
function to make Gecko happy.

---

 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 4610bbc..eb7aa73 100644
--- a/dlls/mshtml/nsio.c
+++ b/dlls/mshtml/nsio.c
@@ -933,9 +933,9 @@ static nsresult NSAPI nsChannel_SetRequestMethod(nsIHttpChannel *iface,
 {
     nsChannel *This = NSCHANNEL_THIS(iface);
 
-    FIXME("(%p)->(%p)\n", This, aRequestMethod);
+    TRACE("(%p)->(%p): Returning NS_OK\n", This, aRequestMethod);
 
-    return NS_ERROR_NOT_IMPLEMENTED;
+    return NS_OK;
 }
 
 static nsresult NSAPI nsChannel_GetReferrer(nsIHttpChannel *iface, nsIURI **aReferrer)




More information about the wine-cvs mailing list