winhttp: Reverse the order of arguments passed to Invoke.

This commit is contained in:
Hans Leidekker 2011-11-21 12:32:50 +01:00 committed by Alexandre Julliard
parent c831b9ab8a
commit 654b0eeaea
1 changed files with 2 additions and 2 deletions

View File

@ -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;