1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-07 01:58:28 +03:00

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 <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
This commit is contained in:
Stefan Metzmacher 2014-02-04 11:06:21 +01:00 committed by Günther Deschner
parent d6c91502c0
commit d791f3354e

View File

@ -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);