From d791f3354e493bee764ca8b6ebdc3673d82e2987 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 4 Feb 2014 11:06:21 +0100 Subject: s4:librpc/rpc: use the correct _recv function in continue_open_pipe() We start with dcerpc_pipe_open_unix_stream_send() so we need to call dcerpc_pipe_open_unix_stream_recv(). It was just luck that it worked before... Signed-off-by: Stefan Metzmacher Reviewed-by: Guenther Deschner --- source4/librpc/rpc/dcerpc_secondary.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source4/librpc/rpc/dcerpc_secondary.c b/source4/librpc/rpc/dcerpc_secondary.c index e9ab7ba35f..6f28a2a91b 100644 --- a/source4/librpc/rpc/dcerpc_secondary.c +++ b/source4/librpc/rpc/dcerpc_secondary.c @@ -156,7 +156,7 @@ static void continue_open_pipe(struct composite_context *ctx) struct composite_context *c = talloc_get_type(ctx->async.private_data, struct composite_context); - c->status = dcerpc_pipe_open_pipe_recv(ctx); + c->status = dcerpc_pipe_open_unix_stream_recv(ctx); if (!composite_is_ok(c)) return; continue_pipe_open(c); -- cgit