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
690046e3
Commit
690046e3
authored
Nov 15, 2018
by
Hans Leidekker
Committed by
Alexandre Julliard
Nov 15, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winhttp: Get rid of receive_response_t.
Signed-off-by:
Hans Leidekker
<
hans@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ebc80ad1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
request.c
dlls/winhttp/request.c
+3
-3
winhttp_private.h
dlls/winhttp/winhttp_private.h
+2
-2
No files found.
dlls/winhttp/request.c
View file @
690046e3
...
...
@@ -2839,7 +2839,7 @@ static BOOL receive_response( request_t *request, BOOL async )
static
void
task_receive_response
(
struct
task_header
*
task
)
{
receive_response_t
*
r
=
(
receive_response_t
*
)
task
;
struct
receive_response
*
r
=
(
struct
receive_response
*
)
task
;
receive_response
(
r
->
hdr
.
request
,
TRUE
);
}
...
...
@@ -2867,9 +2867,9 @@ BOOL WINAPI WinHttpReceiveResponse( HINTERNET hrequest, LPVOID reserved )
if
(
request
->
connect
->
hdr
.
flags
&
WINHTTP_FLAG_ASYNC
)
{
receive_response_t
*
r
;
struct
receive_response
*
r
;
if
(
!
(
r
=
heap_alloc
(
sizeof
(
receive_response_t
)
)))
return
FALSE
;
if
(
!
(
r
=
heap_alloc
(
sizeof
(
struct
receive_response
)
)))
return
FALSE
;
r
->
hdr
.
request
=
request
;
r
->
hdr
.
proc
=
task_receive_response
;
...
...
dlls/winhttp/winhttp_private.h
View file @
690046e3
...
...
@@ -232,10 +232,10 @@ struct send_request
DWORD_PTR
context
;
};
typedef
struct
struct
receive_response
{
struct
task_header
hdr
;
}
receive_response_t
;
};
typedef
struct
{
...
...
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