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
85b6c2b9
Commit
85b6c2b9
authored
Nov 06, 2018
by
Hans Leidekker
Committed by
Alexandre Julliard
Nov 06, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winhttp: Get rid of send_request_t.
Signed-off-by:
Hans Leidekker
<
hans@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
b603c5e0
Hide 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 @
85b6c2b9
...
...
@@ -2166,7 +2166,7 @@ end:
static
void
task_send_request
(
struct
task_header
*
task
)
{
s
end_request_t
*
s
=
(
send_request_
t
*
)
task
;
s
truct
send_request
*
s
=
(
struct
send_reques
t
*
)
task
;
send_request
(
s
->
hdr
.
request
,
s
->
headers
,
s
->
headers_len
,
s
->
optional
,
s
->
optional_len
,
s
->
total_len
,
s
->
context
,
TRUE
);
heap_free
(
s
->
headers
);
}
...
...
@@ -2199,9 +2199,9 @@ BOOL WINAPI WinHttpSendRequest( HINTERNET hrequest, LPCWSTR headers, DWORD heade
if
(
request
->
connect
->
hdr
.
flags
&
WINHTTP_FLAG_ASYNC
)
{
s
end_request_
t
*
s
;
s
truct
send_reques
t
*
s
;
if
(
!
(
s
=
heap_alloc
(
sizeof
(
s
end_request_
t
)
)))
return
FALSE
;
if
(
!
(
s
=
heap_alloc
(
sizeof
(
s
truct
send_reques
t
)
)))
return
FALSE
;
s
->
hdr
.
request
=
request
;
s
->
hdr
.
proc
=
task_send_request
;
s
->
headers
=
strdupW
(
headers
);
...
...
dlls/winhttp/winhttp_private.h
View file @
85b6c2b9
...
...
@@ -221,16 +221,16 @@ struct task_header
void
(
*
proc
)(
struct
task_header
*
);
};
typedef
struc
t
struct
send_reques
t
{
struct
task_header
hdr
;
LPWSTR
headers
;
WCHAR
*
headers
;
DWORD
headers_len
;
LPVOID
optional
;
void
*
optional
;
DWORD
optional_len
;
DWORD
total_len
;
DWORD_PTR
context
;
}
send_request_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