winhttp: Get rid of query_data_t.
Signed-off-by: Hans Leidekker <hans@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
690046e3d2
commit
41c72bff6f
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue