winhttp: Get rid of receive_response_t.
Signed-off-by: Hans Leidekker <hans@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
ebc80ad1c4
commit
690046e3d2
|
@ -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;
|
||||
|
||||
|
|
|
@ -232,10 +232,10 @@ struct send_request
|
|||
DWORD_PTR context;
|
||||
};
|
||||
|
||||
typedef struct
|
||||
struct receive_response
|
||||
{
|
||||
struct task_header hdr;
|
||||
} receive_response_t;
|
||||
};
|
||||
|
||||
typedef struct
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue