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
05396f18
Commit
05396f18
authored
Nov 26, 2013
by
Ričardas Barkauskas
Committed by
Alexandre Julliard
Nov 26, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet/tests: Mark successful query of status before sending request as broken.
parent
12e6c14e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
http.c
dlls/wininet/tests/http.c
+4
-2
No files found.
dlls/wininet/tests/http.c
View file @
05396f18
...
...
@@ -3597,7 +3597,7 @@ static void test_response_without_headers(int port)
static
void
test_HttpQueryInfo
(
int
port
)
{
HINTERNET
hi
,
hc
,
hr
;
DWORD
size
,
index
;
DWORD
size
,
index
,
error
;
char
buffer
[
1024
];
BOOL
ret
;
...
...
@@ -3612,7 +3612,9 @@ static void test_HttpQueryInfo(int port)
size
=
sizeof
(
buffer
);
ret
=
HttpQueryInfoA
(
hr
,
HTTP_QUERY_STATUS_TEXT
,
buffer
,
&
size
,
&
index
);
ok
(
!
ret
&&
GetLastError
()
==
ERROR_HTTP_HEADER_NOT_FOUND
,
"HttpQueryInfo failed %u
\n
"
,
GetLastError
());
error
=
GetLastError
();
ok
(
!
ret
||
broken
(
ret
),
"HttpQueryInfo succeeded
\n
"
);
if
(
!
ret
)
ok
(
error
==
ERROR_HTTP_HEADER_NOT_FOUND
,
"got %u expected ERROR_HTTP_HEADER_NOT_FOUND
\n
"
,
error
);
ret
=
HttpSendRequestA
(
hr
,
NULL
,
0
,
NULL
,
0
);
ok
(
ret
,
"HttpSendRequest failed
\n
"
);
...
...
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