Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
e1ef0d11
Commit
e1ef0d11
authored
Dec 05, 2013
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Dec 05, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet/tests: Use BOOL type where appropriate.
parent
35f82370
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
http.c
dlls/wininet/tests/http.c
+2
-2
No files found.
dlls/wininet/tests/http.c
View file @
e1ef0d11
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment