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) {
/* 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);