Commit e1ef0d11 authored by Frédéric Delanoy's avatar Frédéric Delanoy Committed by Alexandre Julliard

wininet/tests: Use BOOL type where appropriate.

parent 35f82370
...@@ -1954,7 +1954,7 @@ static DWORD CALLBACK server_thread(LPVOID param) ...@@ -1954,7 +1954,7 @@ static DWORD CALLBACK server_thread(LPVOID param)
WSADATA wsaData; WSADATA wsaData;
int last_request = 0; int last_request = 0;
char host_header[22]; char host_header[22];
static int test_b = 0; static BOOL test_b = FALSE;
static int test_no_cache = 0; static int test_no_cache = 0;
WSAStartup(MAKEWORD(1,1), &wsaData); WSAStartup(MAKEWORD(1,1), &wsaData);
...@@ -2094,7 +2094,7 @@ static DWORD CALLBACK server_thread(LPVOID param) ...@@ -2094,7 +2094,7 @@ static DWORD CALLBACK server_thread(LPVOID param)
} }
if (!test_b && strstr(buffer, "/testB HTTP/1.1")) if (!test_b && strstr(buffer, "/testB HTTP/1.1"))
{ {
test_b = 1; test_b = TRUE;
send(c, okmsg, sizeof okmsg-1, 0); send(c, okmsg, sizeof okmsg-1, 0);
recvfrom(c, buffer, sizeof buffer, 0, NULL, NULL); recvfrom(c, buffer, sizeof buffer, 0, NULL, NULL);
send(c, okmsg, sizeof okmsg-1, 0); send(c, okmsg, sizeof okmsg-1, 0);
......
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