wininet/tests: Use BOOL type where appropriate
Frédéric Delanoy
frederic.delanoy at gmail.com
Thu Dec 5 03:29:37 CST 2013
---
dlls/wininet/tests/http.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/wininet/tests/http.c b/dlls/wininet/tests/http.c
index dae5be0..eb09bc7 100644
--- a/dlls/wininet/tests/http.c
+++ b/dlls/wininet/tests/http.c
@@ -1954,7 +1954,7 @@ static DWORD CALLBACK server_thread(LPVOID param)
WSADATA wsaData;
int last_request = 0;
char host_header[22];
- static int test_b = 0;
+ static BOOL test_b = FALSE;
static int test_no_cache = 0;
WSAStartup(MAKEWORD(1,1), &wsaData);
@@ -2094,7 +2094,7 @@ static DWORD CALLBACK server_thread(LPVOID param)
}
if (!test_b && strstr(buffer, "/testB HTTP/1.1"))
{
- test_b = 1;
+ test_b = TRUE;
send(c, okmsg, sizeof okmsg-1, 0);
recvfrom(c, buffer, sizeof buffer, 0, NULL, NULL);
send(c, okmsg, sizeof okmsg-1, 0);
--
1.8.5
More information about the wine-patches
mailing list