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
cf22c2c1
Commit
cf22c2c1
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 write_data_t.
Signed-off-by:
Hans Leidekker
<
hans@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
6fb0c790
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
request.c
dlls/winhttp/request.c
+3
-3
winhttp_private.h
dlls/winhttp/winhttp_private.h
+4
-4
No files found.
dlls/winhttp/request.c
View file @
cf22c2c1
...
...
@@ -3030,7 +3030,7 @@ static BOOL write_data( request_t *request, LPCVOID buffer, DWORD to_write, LPDW
static
void
task_write_data
(
struct
task_header
*
task
)
{
write_data_t
*
w
=
(
write_data_t
*
)
task
;
struct
write_data
*
w
=
(
struct
write_data
*
)
task
;
write_data
(
w
->
hdr
.
request
,
w
->
buffer
,
w
->
to_write
,
w
->
written
,
TRUE
);
}
...
...
@@ -3058,9 +3058,9 @@ BOOL WINAPI WinHttpWriteData( HINTERNET hrequest, LPCVOID buffer, DWORD to_write
if
(
request
->
connect
->
hdr
.
flags
&
WINHTTP_FLAG_ASYNC
)
{
write_data_t
*
w
;
struct
write_data
*
w
;
if
(
!
(
w
=
heap_alloc
(
sizeof
(
write_data_t
)
)))
return
FALSE
;
if
(
!
(
w
=
heap_alloc
(
sizeof
(
struct
write_data
)
)))
return
FALSE
;
w
->
hdr
.
request
=
request
;
w
->
hdr
.
proc
=
task_write_data
;
w
->
buffer
=
buffer
;
...
...
dlls/winhttp/winhttp_private.h
View file @
cf22c2c1
...
...
@@ -251,13 +251,13 @@ struct read_data
DWORD
*
read
;
};
typedef
struct
struct
write_data
{
struct
task_header
hdr
;
LPCVOID
buffer
;
const
void
*
buffer
;
DWORD
to_write
;
LPDWORD
written
;
}
write_data_t
;
DWORD
*
written
;
};
object_header_t
*
addref_object
(
object_header_t
*
)
DECLSPEC_HIDDEN
;
object_header_t
*
grab_object
(
HINTERNET
)
DECLSPEC_HIDDEN
;
...
...
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