Share RPC binding string utility functions.
[kai/samba.git] / source3 / rpc_client / ndr.c
index 72a33137a653206a27b2817a5a2aaf47bb13abfd..9ada47a3f5d901aeecbe456dd82a990e4ee0b771 100644 (file)
@@ -41,7 +41,7 @@ NTSTATUS cli_do_rpc_ndr(struct rpc_pipe_client *cli,
 
        call = &table->calls[opnum];
 
-       push = ndr_push_init_ctx(mem_ctx);
+       push = ndr_push_init_ctx(mem_ctx, NULL);
        if (!push) {
                return NT_STATUS_NO_MEMORY;
        }
@@ -77,7 +77,7 @@ NTSTATUS cli_do_rpc_ndr(struct rpc_pipe_client *cli,
 
        prs_mem_free( &r_ps );
 
-       pull = ndr_pull_init_blob(&blob, mem_ctx);
+       pull = ndr_pull_init_blob(&blob, mem_ctx, NULL);
        if (pull == NULL) {
                return NT_STATUS_NO_MEMORY;
        }