=?UTF-8?Q?Fr=C3=A9d=C3=A9ric=20Delanoy=20?=: wininet/tests: Use BOOL type where appropriate.
Alexandre Julliard
julliard at winehq.org
Thu Dec 5 12:49:15 CST 2013
Module: wine
Branch: master
Commit: e1ef0d11744592fb5f2d2a2b694e4bb3268b3dfd
URL: http://source.winehq.org/git/wine.git/?a=commit;h=e1ef0d11744592fb5f2d2a2b694e4bb3268b3dfd
Author: Frédéric Delanoy <frederic.delanoy at gmail.com>
Date: Thu Dec 5 10:29:37 2013 +0100
wininet/tests: Use BOOL type where appropriate.
---
dlls/wininet/tests/http.c | 4 ++--
1 files 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);
More information about the wine-cvs
mailing list