Paul Vriens : urlmon/tests: Fix timeout for tests on win9x.
Module: wine Branch: master Commit: 3a3246527ae07868632e7f4c40b6a1d900532738 URL: http://source.winehq.org/git/wine.git/?a=commit;h=3a3246527ae07868632e7f4c40... Author: Paul Vriens <paul.vriens.wine(a)gmail.com> Date: Thu May 1 15:27:16 2008 +0200 urlmon/tests: Fix timeout for tests on win9x. --- dlls/urlmon/tests/url.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/dlls/urlmon/tests/url.c b/dlls/urlmon/tests/url.c index 5c8505c..592eefa 100644 --- a/dlls/urlmon/tests/url.c +++ b/dlls/urlmon/tests/url.c @@ -449,6 +449,7 @@ static HRESULT WINAPI Protocol_Start(IInternetProtocol *iface, LPCWSTR szUrl, LPWSTR additional_headers = (LPWSTR)0xdeadbeef; BYTE sec_id[100]; DWORD fetched = 256, size = 100; + DWORD tid; static const WCHAR wszMimes[] = {'*','/','*',0}; @@ -518,7 +519,7 @@ static HRESULT WINAPI Protocol_Start(IInternetProtocol *iface, LPCWSTR szUrl, IInternetProtocolSink_AddRef(pOIProtSink); protocol_sink = pOIProtSink; - CreateThread(NULL, 0, thread_proc, NULL, 0, NULL); + CreateThread(NULL, 0, thread_proc, NULL, 0, &tid); return S_OK; }
participants (1)
-
Alexandre Julliard