1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-28 01:58:17 +03:00

s4:lib/http: remove stream and send_queue from state

They're not used, so remove them.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@suse.de>
This commit is contained in:
Ralph Boehme 2019-03-26 15:04:28 +01:00
parent ab389bca9c
commit 94fe9afae4

View File

@ -761,10 +761,8 @@ static NTSTATUS http_push_body(TALLOC_CTX *mem_ctx,
struct http_send_request_state { struct http_send_request_state {
struct tevent_context *ev; struct tevent_context *ev;
struct tstream_context *stream;
struct loadparm_context *lp_ctx; struct loadparm_context *lp_ctx;
struct cli_credentials *credentials; struct cli_credentials *credentials;
struct tevent_queue *send_queue;
struct http_request *request; struct http_request *request;
DATA_BLOB buffer; DATA_BLOB buffer;
struct iovec iov; struct iovec iov;
@ -801,8 +799,6 @@ struct tevent_req *http_send_request_send(TALLOC_CTX *mem_ctx,
} }
state->ev = ev; state->ev = ev;
state->stream = stream;
state->send_queue = send_queue;
state->request = request; state->request = request;
/* Push the request line */ /* Push the request line */