Commit 47535030 authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

winhttp/tests: Fix a test failure on some W2K/XP systems.

parent 43f36486
...@@ -942,7 +942,8 @@ static void test_set_default_proxy_config(void) ...@@ -942,7 +942,8 @@ static void test_set_default_proxy_config(void)
info.lpszProxy = wideString; info.lpszProxy = wideString;
SetLastError(0xdeadbeef); SetLastError(0xdeadbeef);
ret = WinHttpSetDefaultProxyConfiguration(&info); ret = WinHttpSetDefaultProxyConfiguration(&info);
ok(!ret && GetLastError() == ERROR_INVALID_PARAMETER, ok((!ret && GetLastError() == ERROR_INVALID_PARAMETER) ||
broken(ret), /* Earlier winhttp versions on W2K/XP */
"expected ERROR_INVALID_PARAMETER, got %d\n", GetLastError()); "expected ERROR_INVALID_PARAMETER, got %d\n", GetLastError());
info.lpszProxy = normalString; info.lpszProxy = normalString;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment