STEP04c: ??? sq HACK s4 client remove unused
authorStefan Metzmacher <metze@samba.org>
Wed, 22 Jan 2014 12:00:23 +0000 (13:00 +0100)
committerStefan Metzmacher <metze@samba.org>
Tue, 4 Jun 2019 10:45:39 +0000 (12:45 +0200)
source4/librpc/rpc/dcerpc_util.c

index b47dc7f258725476d1afc354aed3185ef3c81ceb..3fc670dc174330a5ed0c634f00d06fe25f0ea54e 100644 (file)
@@ -889,22 +889,23 @@ _PUBLIC_ NTSTATUS dcerpc_secondary_context(struct dcerpc_pipe *p,
 /*
  * this is just for testing! use dcerpc_secondary_context() otherwise!
  */
-NTSTATUS dcerpc_alter_context(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx,
-                             const struct ndr_syntax_id *abstract,
-                             const struct ndr_syntax_id *transfer)
+NTSTATUS dcerpc_alter_context(struct dcerpc_pipe *p,
+                             TALLOC_CTX *mem_ctx,
+                             const struct ndr_syntax_id *syntax,
+                             const struct ndr_syntax_id *transfer_syntax)
 {
        struct composite_context *subreq;
        NTSTATUS status;
        struct dcerpc_presentation *saved_pres = p->pres;
        struct ndr_interface_table table = {
-               .syntax_id = *abstract,
+               .syntax_id = *syntax,
        };
 
        p->pres = dcerpc_presentation_test_copy(mem_ctx,
                                                saved_pres,
                                                NULL, /* context_id */
                                                &table,
-                                               transfer);
+                                               transfer_syntax);
        if (p->pres == NULL) {
                status = NT_STATUS_NO_MEMORY;
                goto done;