diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/rpc_client/ndr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/rpc_client/ndr.c b/source3/rpc_client/ndr.c index 91751a2d71..4f1ef029c8 100644 --- a/source3/rpc_client/ndr.c +++ b/source3/rpc_client/ndr.c @@ -35,7 +35,8 @@ NTSTATUS cli_do_rpc_ndr(struct rpc_pipe_client *cli, NTSTATUS status; enum ndr_err_code ndr_err; - SMB_ASSERT(rpccli_is_pipe_idx(cli, p_idx)); + SMB_ASSERT(ndr_syntax_id_equal(&table->syntax_id, + &cli->abstract_syntax)); SMB_ASSERT(table->num_calls > opnum); call = &table->calls[opnum]; |