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
8946346f
Commit
8946346f
authored
Oct 14, 2013
by
Hans Leidekker
Committed by
Alexandre Julliard
Oct 14, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winhttp: Fix a test failure on Windows 8 and conform to the more recent behavior.
parent
2b5888cc
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
session.c
dlls/winhttp/session.c
+5
-1
winhttp.c
dlls/winhttp/tests/winhttp.c
+2
-2
No files found.
dlls/winhttp/session.c
View file @
8946346f
...
...
@@ -1365,7 +1365,11 @@ BOOL WINAPI WinHttpDetectAutoProxyConfigUrl( DWORD flags, LPWSTR *url )
FIXME
(
"getaddrinfo not found at build time
\n
"
);
#endif
}
if
(
!
ret
)
set_last_error
(
ERROR_WINHTTP_AUTODETECTION_FAILED
);
if
(
!
ret
)
{
set_last_error
(
ERROR_WINHTTP_AUTODETECTION_FAILED
);
*
url
=
NULL
;
}
return
ret
;
}
...
...
dlls/winhttp/tests/winhttp.c
View file @
8946346f
...
...
@@ -2759,7 +2759,7 @@ if (0) /* crashes on some win2k systems */
if
(
!
ret
)
{
ok
(
error
==
ERROR_WINHTTP_AUTODETECTION_FAILED
,
"got %u
\n
"
,
error
);
ok
(
url
==
(
WCHAR
*
)
0xdeadbeef
,
"got %p
\n
"
,
url
);
ok
(
!
url
||
broken
(
url
==
(
WCHAR
*
)
0xdeadbeef
)
,
"got %p
\n
"
,
url
);
}
else
{
...
...
@@ -2774,7 +2774,7 @@ if (0) /* crashes on some win2k systems */
if
(
!
ret
)
{
ok
(
error
==
ERROR_WINHTTP_AUTODETECTION_FAILED
,
"got %u
\n
"
,
error
);
ok
(
url
==
(
WCHAR
*
)
0xdeadbeef
,
"got %p
\n
"
,
url
);
ok
(
!
url
||
broken
(
url
==
(
WCHAR
*
)
0xdeadbeef
)
,
"got %p
\n
"
,
url
);
}
else
{
...
...
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