urlmon/tests: Fix timeout for tests on win9x.

This commit is contained in:
Paul Vriens 2008-05-01 15:27:16 +02:00 committed by Alexandre Julliard
parent bd6b394e84
commit 3a3246527a
1 changed files with 2 additions and 1 deletions

View File

@ -449,6 +449,7 @@ static HRESULT WINAPI Protocol_Start(IInternetProtocol *iface, LPCWSTR szUrl,
LPWSTR additional_headers = (LPWSTR)0xdeadbeef; LPWSTR additional_headers = (LPWSTR)0xdeadbeef;
BYTE sec_id[100]; BYTE sec_id[100];
DWORD fetched = 256, size = 100; DWORD fetched = 256, size = 100;
DWORD tid;
static const WCHAR wszMimes[] = {'*','/','*',0}; static const WCHAR wszMimes[] = {'*','/','*',0};
@ -518,7 +519,7 @@ static HRESULT WINAPI Protocol_Start(IInternetProtocol *iface, LPCWSTR szUrl,
IInternetProtocolSink_AddRef(pOIProtSink); IInternetProtocolSink_AddRef(pOIProtSink);
protocol_sink = pOIProtSink; protocol_sink = pOIProtSink;
CreateThread(NULL, 0, thread_proc, NULL, 0, NULL); CreateThread(NULL, 0, thread_proc, NULL, 0, &tid);
return S_OK; return S_OK;
} }