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
41c72bff
Commit
41c72bff
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 query_data_t.
Signed-off-by:
Hans Leidekker
<
hans@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
690046e3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
request.c
dlls/winhttp/request.c
+3
-3
winhttp_private.h
dlls/winhttp/winhttp_private.h
+3
-3
No files found.
dlls/winhttp/request.c
View file @
41c72bff
...
...
@@ -2910,7 +2910,7 @@ done:
static
void
task_query_data_available
(
struct
task_header
*
task
)
{
query_data_t
*
q
=
(
query_data_t
*
)
task
;
struct
query_data
*
q
=
(
struct
query_data
*
)
task
;
query_data_available
(
q
->
hdr
.
request
,
q
->
available
,
TRUE
);
}
...
...
@@ -2938,9 +2938,9 @@ BOOL WINAPI WinHttpQueryDataAvailable( HINTERNET hrequest, LPDWORD available )
if
(
request
->
connect
->
hdr
.
flags
&
WINHTTP_FLAG_ASYNC
)
{
query_data_t
*
q
;
struct
query_data
*
q
;
if
(
!
(
q
=
heap_alloc
(
sizeof
(
query_data_t
)
)))
return
FALSE
;
if
(
!
(
q
=
heap_alloc
(
sizeof
(
struct
query_data
)
)))
return
FALSE
;
q
->
hdr
.
request
=
request
;
q
->
hdr
.
proc
=
task_query_data_available
;
q
->
available
=
available
;
...
...
dlls/winhttp/winhttp_private.h
View file @
41c72bff
...
...
@@ -237,11 +237,11 @@ struct receive_response
struct
task_header
hdr
;
};
typedef
struct
struct
query_data
{
struct
task_header
hdr
;
LPDWORD
available
;
}
query_data_t
;
DWORD
*
available
;
};
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