Module: wine Branch: master Commit: bbf5dae444fff9da7e76102ff2833eb7dc41370f URL: http://source.winehq.org/git/wine.git/?a=commit;h=bbf5dae444fff9da7e76102ff2...
Author: Hans Leidekker hans@it.vu.nl Date: Sun Mar 30 19:19:46 2008 +0100
wininet: Use a direct connection for tests that connect to localhost.
---
dlls/wininet/tests/http.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/wininet/tests/http.c b/dlls/wininet/tests/http.c index 5d42077..d87fb5e 100644 --- a/dlls/wininet/tests/http.c +++ b/dlls/wininet/tests/http.c @@ -1470,7 +1470,7 @@ static void test_basic_request(int port, const char *verb, const char *url) DWORD r, count; char buffer[0x100];
- hi = InternetOpen(NULL, 0, NULL, NULL, 0); + hi = InternetOpen(NULL, INTERNET_OPEN_TYPE_DIRECT, NULL, NULL, 0); ok(hi != NULL, "open failed\n");
hc = InternetConnect(hi, "localhost", port, NULL, NULL, INTERNET_SERVICE_HTTP, 0, 0);