Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
86eb9c24
Commit
86eb9c24
authored
Jan 24, 2011
by
Hans Leidekker
Committed by
Alexandre Julliard
Jan 24, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet/tests: Trace errors from InternetReadFile in test_basic_request.
parent
92203f10
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
http.c
dlls/wininet/tests/http.c
+2
-1
No files found.
dlls/wininet/tests/http.c
View file @
86eb9c24
...
@@ -1823,8 +1823,9 @@ static void test_basic_request(int port, const char *verb, const char *url)
...
@@ -1823,8 +1823,9 @@ static void test_basic_request(int port, const char *verb, const char *url)
count
=
0
;
count
=
0
;
memset
(
buffer
,
0
,
sizeof
buffer
);
memset
(
buffer
,
0
,
sizeof
buffer
);
SetLastError
(
0xdeadbeef
);
r
=
InternetReadFile
(
hr
,
buffer
,
sizeof
buffer
,
&
count
);
r
=
InternetReadFile
(
hr
,
buffer
,
sizeof
buffer
,
&
count
);
ok
(
r
,
"InternetReadFile failed
\n
"
);
ok
(
r
,
"InternetReadFile failed
%u
\n
"
,
GetLastError
()
);
ok
(
count
==
sizeof
page1
-
1
,
"count was wrong
\n
"
);
ok
(
count
==
sizeof
page1
-
1
,
"count was wrong
\n
"
);
ok
(
!
memcmp
(
buffer
,
page1
,
sizeof
page1
),
"http data wrong
\n
"
);
ok
(
!
memcmp
(
buffer
,
page1
,
sizeof
page1
),
"http data wrong
\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