From 90cfc7596b3160f40d5e9369609f41b30b06739a Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Sat, 21 Sep 2013 22:05:23 +0200 Subject: [PATCH] librpc/rpc/binding_handle.c cleanups --- librpc/rpc/binding_handle.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/librpc/rpc/binding_handle.c b/librpc/rpc/binding_handle.c index c6d905137a3b..a22f7cf40e50 100644 --- a/librpc/rpc/binding_handle.c +++ b/librpc/rpc/binding_handle.c @@ -1152,7 +1152,7 @@ static void dcerpc_binding_handle_call_params_pull_notify(struct tevent_req *req tevent_req_data(pp->call_req, struct dcerpc_binding_handle_call_params_state); enum ndr_err_code ndr_err; - struct ndr_push *pipe_pull = NULL; + struct ndr_pull *pipe_pull = NULL; const uint32_t *count = NULL; if (call_state->pull == NULL) { @@ -1177,9 +1177,9 @@ static void dcerpc_binding_handle_call_params_pull_notify(struct tevent_req *req /* pull the structure from the subcontext */ pipe_pull->current_mem_ctx = state->chunk_mem; - ndr_err = pipe_pull->ndr_pull(pipe_pull, - NDR_SCALARS|NDR_BUFFERS, - state->chunk_ptr); + ndr_err = call_state->call_pipe->ndr_pull(pipe_pull, + NDR_SCALARS|NDR_BUFFERS, + state->chunk_ptr); if (ndr_err == NDR_ERR_INCOMPLETE_BUFFER) { TALLOC_FREE(pipe_pull); talloc_free_children(state->chunk_mem); -- 2.34.1