[PATCH 4/4] mshtml: Return actual status in nsChannel_GetStatus.
Gabriel Ivăncescu
gabrielopcode at gmail.com
Thu May 26 11:54:29 CDT 2022
Signed-off-by: Gabriel Ivăncescu <gabrielopcode at gmail.com>
---
dlls/mshtml/nsio.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/mshtml/nsio.c b/dlls/mshtml/nsio.c
index e1a1d6e..f1859e2 100644
--- a/dlls/mshtml/nsio.c
+++ b/dlls/mshtml/nsio.c
@@ -599,9 +599,9 @@ static nsresult NSAPI nsChannel_GetStatus(nsIHttpChannel *iface, nsresult *aStat
{
nsChannel *This = impl_from_nsIHttpChannel(iface);
- WARN("(%p)->(%p) returning NS_OK\n", This, aStatus);
+ TRACE("(%p)->(%p) returning %#lx\n", This, aStatus, This->status);
- return *aStatus = NS_OK;
+ return *aStatus = This->status;
}
static nsresult NSAPI nsChannel_Cancel(nsIHttpChannel *iface, nsresult aStatus)
--
2.34.1
More information about the wine-devel
mailing list