Jacek Caban (@jacek) commented about dlls/wininet/tests/http.c:
CHECK_NOTIFIED2(INTERNET_STATUS_HANDLE_CLOSING, handle_cnt);
}
+static void InternetSetFilePointer_test(const char *host, const char *path) +{ +#ifndef BUFFER_SIZE +#define BUFFER_SIZE 8192 +#endif
- CHAR expect_response[BUFFER_SIZE], buf[BUFFER_SIZE];
- HINTERNET hi = 0, hic = 0, hor = 0;
- BOOL res, expected;
- DWORD count, size, i, pos, err;
- hi = InternetOpenA("Winetest", INTERNET_OPEN_TYPE_DIRECT, NULL, NULL, 0);
- ok((hi != 0x0), "InternetOpen failed: %lu\n", GetLastError());
Brackets in the expressions are redundant (same in a few other places).