Commit fcf16e37 authored by Stefan Leichter's avatar Stefan Leichter Committed by Alexandre Julliard

Fixed tests of GetAcceptLanguagesA for win2k and win XP.

parent 553dc348
......@@ -53,7 +53,9 @@ static void test_GetAcceptLanguagesA(void)
trace("GetAcceptLanguagesA: skipping tests\n");
return;
}
ok(ERROR_SUCCESS == GetLastError(), "last error set to %ld\n", GetLastError());
ok( (ERROR_NO_IMPERSONATION_TOKEN == GetLastError()) ||
(ERROR_CLASS_DOES_NOT_EXIST == GetLastError()) ||
(ERROR_SUCCESS == GetLastError()), "last error set to %ld\n", GetLastError());
exactsize = strlen(buffer);
SetLastError(ERROR_SUCCESS);
......
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