sq librpc/rpc/binding_handle.c PIPE support
authorStefan Metzmacher <metze@samba.org>
Fri, 20 Sep 2013 17:23:00 +0000 (19:23 +0200)
committerMatthieu Patou <mat@matws.net>
Fri, 3 Oct 2014 19:16:33 +0000 (12:16 -0700)
librpc/rpc/binding_handle.c

index 586a71f505f531f42f69de44edf18bdbdeb95b3d..7e09a6456eeaf7f7c1aa37fb69da1b945b82ef65 100644 (file)
@@ -589,7 +589,7 @@ struct tevent_req *dcerpc_binding_handle_call_params_send(TALLOC_CTX *mem_ctx,
 
        if (state->in_flags & LIBNDR_FLAG_INCOMPLETE_BUFFER) {
                dcerpc_binding_handle_call_params_pipe_setup(req);
-               if (!tevent_req_is_in_progress(state->subreq)) {
+               if (!tevent_req_is_in_progress(req)) {
                        return tevent_req_post(req, ev);
                }
        }
@@ -782,7 +782,7 @@ static void dcerpc_binding_handle_call_params_done(struct tevent_req *subreq)
                        state->pull->flags &= ~LIBNDR_FLAG_INCOMPLETE_BUFFER;
                }
 
-               //ndr_err = ndr_pull_append_blob(state->pull,
+               ndr_err = NDR_ERR_UNREAD_BYTES;// ndr_pull_append_blob(state->pull,
                //                             &state->response);
                if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
                        error = ndr_map_error2ntstatus(ndr_err);