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
03434c72
Commit
03434c72
authored
Feb 06, 2006
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Feb 06, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wininet: Fix InternetQueryOption test to pass under Windows.
parent
96a46367
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
internet.c
dlls/wininet/tests/internet.c
+3
-4
No files found.
dlls/wininet/tests/internet.c
View file @
03434c72
...
...
@@ -63,10 +63,9 @@ void InternetQueryOptionA_test()
buffer
=
HeapAlloc
(
GetProcessHeap
(),
0
,
100
);
retval
=
InternetQueryOptionA
(
hinet
,
INTERNET_OPTION_USER_AGENT
,
buffer
,
&
len
);
err
=
GetLastError
();
todo_wine
ok
(
!
strcmp
(
useragent
,
buffer
),
"Got wrong user agent string %s instead of %s
\n
"
,
buffer
,
useragent
);
todo_wine
ok
(
len
==
strlen
(
useragent
),
"Got wrong user agent length %ld instead of %d
\n
"
,
len
,
strlen
(
useragent
));
todo_wine
ok
(
retval
==
1
,
"Got wrong return value %d
\n
"
,
retval
);
ok
(
err
==
0xdeadbeef
,
"Got wrong error code %ld
\n
"
,
err
);
todo_wine
ok
(
len
==
strlen
(
useragent
)
+
1
,
"Got wrong user agent length %ld instead of %d
\n
"
,
len
,
strlen
(
useragent
)
+
1
);
ok
(
!
retval
,
"Got wrong return value %d
\n
"
,
retval
);
todo_wine
ok
(
err
==
ERROR_INSUFFICIENT_BUFFER
,
"Got wrong error code %ld
\n
"
,
err
);
HeapFree
(
GetProcessHeap
(),
0
,
buffer
);
hurl
=
InternetConnectA
(
hinet
,
"www.winehq.com"
,
INTERNET_DEFAULT_HTTP_PORT
,
NULL
,
NULL
,
INTERNET_SERVICE_HTTP
,
0
,
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