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
b8e2edf1
Commit
b8e2edf1
authored
Mar 08, 2013
by
Piotr Caban
Committed by
Alexandre Julliard
Mar 08, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cryptnet: Don't ignore HttpEndRequestW error in HTTP_RetrieveEncodedObjectW.
parent
437df58d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
7 deletions
+3
-7
cryptnet_main.c
dlls/cryptnet/cryptnet_main.c
+3
-7
No files found.
dlls/cryptnet/cryptnet_main.c
View file @
b8e2edf1
...
...
@@ -941,19 +941,15 @@ static BOOL WINAPI HTTP_RetrieveEncodedObjectW(LPCWSTR pszURL,
else
ret
=
TRUE
;
}
/* We don't set ret to TRUE in this block to avoid masking
* an error from HttpSendRequestExW.
*/
if
(
ret
&&
!
HttpEndRequestW
(
hHttp
,
NULL
,
0
,
(
DWORD_PTR
)
context
)
&&
!
(
ret
=
HttpEndRequestW
(
hHttp
,
NULL
,
0
,
(
DWORD_PTR
)
context
)
)
&&
GetLastError
()
==
ERROR_IO_PENDING
)
{
if
(
WaitForSingleObject
(
context
->
event
,
context
->
timeout
)
==
WAIT_TIMEOUT
)
{
SetLastError
(
ERROR_TIMEOUT
);
ret
=
FALSE
;
}
else
ret
=
TRUE
;
}
if
(
ret
)
ret
=
CRYPT_DownloadObject
(
dwRetrievalFlags
,
hHttp
,
...
...
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