summaryrefslogtreecommitdiffstats
path: root/source4/librpc/rpc/dcerpc_secondary.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2014-02-04 11:06:21 +0100
committerGünther Deschner <gd@samba.org>2014-02-11 16:20:28 +0100
commitd791f3354e493bee764ca8b6ebdc3673d82e2987 (patch)
tree091a87f8df6f3bae2516637033d643e70cf745ea /source4/librpc/rpc/dcerpc_secondary.c
parentd6c91502c061fef9c42eaf99418ec427e96b1c20 (diff)
downloadsamba-d791f3354e493bee764ca8b6ebdc3673d82e2987.tar.gz
samba-d791f3354e493bee764ca8b6ebdc3673d82e2987.tar.xz
samba-d791f3354e493bee764ca8b6ebdc3673d82e2987.zip
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>
Diffstat (limited to 'source4/librpc/rpc/dcerpc_secondary.c')
-rw-r--r--source4/librpc/rpc/dcerpc_secondary.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/librpc/rpc/dcerpc_secondary.c b/source4/librpc/rpc/dcerpc_secondary.c
index e9ab7ba35fc..6f28a2a91b2 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);