From: Stefan Metzmacher Date: Fri, 20 Sep 2013 21:11:48 +0000 (+0200) Subject: librpc/rpc/binding_handle.c sq dcerpc_binding_handle_call_params_in_done X-Git-Url: http://git.samba.org/?p=metze%2Fsamba%2Fwip.git;a=commitdiff_plain;h=a616449caf63974b50427e1359642404b198de80 librpc/rpc/binding_handle.c sq dcerpc_binding_handle_call_params_in_done --- diff --git a/librpc/rpc/binding_handle.c b/librpc/rpc/binding_handle.c index 0d3d36ac302d..d96126478361 100644 --- a/librpc/rpc/binding_handle.c +++ b/librpc/rpc/binding_handle.c @@ -634,6 +634,11 @@ struct tevent_req *dcerpc_binding_handle_call_params_send(TALLOC_CTX *mem_ctx, return req; } + dcerpc_binding_handle_call_params_next_pipe(req); + if (!tevent_req_is_in_progress(req)) { + return tevent_req_post(req, ev); + } + if (state->params->in.num_pipes == 0) { struct tevent_req *subreq; @@ -657,11 +662,6 @@ struct tevent_req *dcerpc_binding_handle_call_params_send(TALLOC_CTX *mem_ctx, return req; } - dcerpc_binding_handle_call_params_next_pipe(req); - if (!tevent_req_is_in_progress(req)) { - return tevent_req_post(req, ev); - } - return req; } @@ -677,7 +677,9 @@ static void dcerpc_binding_handle_call_params_in_done(struct tevent_req *subreq) return; } - dcerpc_binding_handle_call_params_next_pipe(req); + /* + * nothing to do here + */ } static void dcerpc_binding_handle_call_params_next_pipe(struct tevent_req *req)