Commit 41c72bff authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

winhttp: Get rid of query_data_t.

parent 690046e3
...@@ -2910,7 +2910,7 @@ done: ...@@ -2910,7 +2910,7 @@ done:
static void task_query_data_available( struct task_header *task ) 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 ); query_data_available( q->hdr.request, q->available, TRUE );
} }
...@@ -2938,9 +2938,9 @@ BOOL WINAPI WinHttpQueryDataAvailable( HINTERNET hrequest, LPDWORD available ) ...@@ -2938,9 +2938,9 @@ BOOL WINAPI WinHttpQueryDataAvailable( HINTERNET hrequest, LPDWORD available )
if (request->connect->hdr.flags & WINHTTP_FLAG_ASYNC) 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.request = request;
q->hdr.proc = task_query_data_available; q->hdr.proc = task_query_data_available;
q->available = available; q->available = available;
......
...@@ -237,11 +237,11 @@ struct receive_response ...@@ -237,11 +237,11 @@ struct receive_response
struct task_header hdr; struct task_header hdr;
}; };
typedef struct struct query_data
{ {
struct task_header hdr; struct task_header hdr;
LPDWORD available; DWORD *available;
} query_data_t; };
typedef struct typedef struct
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment