Misha Koshelev : urlmon/tests:
Declare the bind flags as a global variable in url tests.
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Aug 7 08:26:30 CDT 2007
Module: wine
Branch: master
Commit: e54a48f96c7130b797757e1d79c5923943499b3a
URL: http://source.winehq.org/git/wine.git/?a=commit;h=e54a48f96c7130b797757e1d79c5923943499b3a
Author: Misha Koshelev <mk144210 at bcm.edu>
Date: Mon Aug 6 23:08:21 2007 -0500
urlmon/tests: Declare the bind flags as a global variable in url tests.
---
dlls/urlmon/tests/url.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/dlls/urlmon/tests/url.c b/dlls/urlmon/tests/url.c
index 1b2758e..cfb7ca7 100644
--- a/dlls/urlmon/tests/url.c
+++ b/dlls/urlmon/tests/url.c
@@ -105,7 +105,7 @@ static const WCHAR MK_URL[] = {'m','k',':','@','M','S','I','T','S','t','o','r','
static const WCHAR wszIndexHtml[] = {'i','n','d','e','x','.','h','t','m','l',0};
static BOOL stopped_binding = FALSE, emulate_protocol = FALSE;
-static DWORD read = 0;
+static DWORD read = 0, bindf = 0;
static const LPCWSTR urls[] = {
WINE_ABOUT_URL,
@@ -596,7 +596,7 @@ static HRESULT WINAPI statusclb_GetBindInfo(IBindStatusCallback *iface, DWORD *g
CHECK_EXPECT(GetBindInfo);
- *grfBINDF = BINDF_ASYNCHRONOUS | BINDF_ASYNCSTORAGE | BINDF_PULLDATA;
+ *grfBINDF = bindf;
cbSize = pbindinfo->cbSize;
memset(pbindinfo, 0, cbSize);
pbindinfo->cbSize = cbSize;
@@ -953,6 +953,8 @@ START_TEST(url)
test_CreateAsyncBindCtx();
test_CreateAsyncBindCtxEx();
+ bindf = BINDF_ASYNCHRONOUS | BINDF_ASYNCSTORAGE | BINDF_PULLDATA;
+
trace("http test...\n");
test_BindToStorage(HTTP_TEST, FALSE);
More information about the wine-cvs
mailing list