Nikolay Sivov : msxml3: Fix async flag setting.

Alexandre Julliard julliard at winehq.org
Mon Jun 25 13:24:14 CDT 2012


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

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Sat Jun 23 19:44:04 2012 +0400

msxml3: Fix async flag setting.

---

 dlls/msxml3/httprequest.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/msxml3/httprequest.c b/dlls/msxml3/httprequest.c
index 4ce5a77..3ea7745 100644
--- a/dlls/msxml3/httprequest.c
+++ b/dlls/msxml3/httprequest.c
@@ -815,7 +815,7 @@ static HRESULT httprequest_open(httprequest *This, BSTR method, BSTR url,
 
     VariantInit(&is_async);
     hr = VariantChangeType(&is_async, &async, 0, VT_BOOL);
-    This->async = hr == S_OK && V_BOOL(&is_async) == VARIANT_TRUE;
+    This->async = hr == S_OK && V_BOOL(&is_async);
 
     VariantInit(&str);
     hr = VariantChangeType(&str, &user, 0, VT_BSTR);




More information about the wine-cvs mailing list