[1/3] winhttp: Reverse the order of arguments passed to Invoke.
Hans Leidekker
hans at codeweavers.com
Mon Nov 21 05:32:50 CST 2011
---
dlls/winhttp/session.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/winhttp/session.c b/dlls/winhttp/session.c
index f0d9974..a55fa21 100644
--- a/dlls/winhttp/session.c
+++ b/dlls/winhttp/session.c
@@ -1661,9 +1661,9 @@ static BOOL run_script( const BSTR script, const WCHAR *url, WINHTTP_PROXY_INFO
if (hr != S_OK) goto done;
V_VT( &args[0] ) = VT_BSTR;
- V_BSTR( &args[0] ) = SysAllocString( url );
+ V_BSTR( &args[0] ) = hostname;
V_VT( &args[1] ) = VT_BSTR;
- V_BSTR( &args[1] ) = hostname;
+ V_BSTR( &args[1] ) = SysAllocString( url );
params.rgvarg = args;
params.rgdispidNamedArgs = NULL;
--
1.7.5.4
More information about the wine-patches
mailing list