diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-04-17 11:46:57 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-04-20 18:15:00 +0200 |
commit | d0e68032187d7167d535d710f01a1c84ac006f3c (patch) | |
tree | 4e31c527fbaaf549db72ee9d89c7f8b1bfebf18a /source4/torture/rpc | |
parent | f3c9d124bb302ded239a835a6173fbfe262a0bab (diff) | |
download | samba-d0e68032187d7167d535d710f01a1c84ac006f3c.tar.gz samba-d0e68032187d7167d535d710f01a1c84ac006f3c.tar.bz2 samba-d0e68032187d7167d535d710f01a1c84ac006f3c.zip |
s4:librpc/rpc: remove async argument from the sync dcerpc_request() function
metze
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r-- | source4/torture/rpc/autoidl.c | 8 | ||||
-rw-r--r-- | source4/torture/rpc/countcalls.c | 2 | ||||
-rw-r--r-- | source4/torture/rpc/scanner.c | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/source4/torture/rpc/autoidl.c b/source4/torture/rpc/autoidl.c index 5ae0201855..6345712133 100644 --- a/source4/torture/rpc/autoidl.c +++ b/source4/torture/rpc/autoidl.c @@ -131,7 +131,7 @@ static void try_expand(struct torture_context *tctx, const struct ndr_interface_ memcpy(stub_in.data, base_in->data, insert_ofs); memcpy(stub_in.data+insert_ofs+n, base_in->data+insert_ofs, base_in->length-insert_ofs); - status = dcerpc_request(p, NULL, opnum, false, tctx, &stub_in, &stub_out); + status = dcerpc_request(p, NULL, opnum, tctx, &stub_in, &stub_out); if (!NT_STATUS_EQUAL(status, NT_STATUS_NET_WRITE_FAULT)) { print_depth(depth); @@ -172,7 +172,7 @@ static void test_ptr_scan(struct torture_context *tctx, const struct ndr_interfa /* work out which elements are pointers */ for (ofs=min_ofs;ofs<=max_ofs-4;ofs+=4) { SIVAL(stub_in.data, ofs, 1); - status = dcerpc_request(p, NULL, opnum, false, tctx, &stub_in, &stub_out); + status = dcerpc_request(p, NULL, opnum, tctx, &stub_in, &stub_out); if (NT_STATUS_EQUAL(status, NT_STATUS_NET_WRITE_FAULT)) { print_depth(depth); @@ -214,7 +214,7 @@ static void test_scan_call(struct torture_context *tctx, const struct ndr_interf data_blob_clear(&stub_in); - status = dcerpc_request(p, NULL, opnum, false, tctx, &stub_in, &stub_out); + status = dcerpc_request(p, NULL, opnum, tctx, &stub_in, &stub_out); if (NT_STATUS_IS_OK(status)) { printf("opnum %d min_input %d - output %d\n", @@ -227,7 +227,7 @@ static void test_scan_call(struct torture_context *tctx, const struct ndr_interf fill_blob_handle(&stub_in, tctx, &handle); - status = dcerpc_request(p, NULL, opnum, false, tctx, &stub_in, &stub_out); + status = dcerpc_request(p, NULL, opnum, tctx, &stub_in, &stub_out); if (NT_STATUS_IS_OK(status)) { printf("opnum %d min_input %d - output %d (with handle)\n", diff --git a/source4/torture/rpc/countcalls.c b/source4/torture/rpc/countcalls.c index 205ee1ec86..4914ae1e50 100644 --- a/source4/torture/rpc/countcalls.c +++ b/source4/torture/rpc/countcalls.c @@ -60,7 +60,7 @@ bool count_calls(struct torture_context *tctx, printf("\nScanning pipe '%s'\n", iface->name); for (i=0;i<500;i++) { - status = dcerpc_request(p, NULL, i, false, p, &stub_in, &stub_out); + status = dcerpc_request(p, NULL, i, p, &stub_in, &stub_out); if (NT_STATUS_EQUAL(status, NT_STATUS_NET_WRITE_FAULT) && p->last_fault_code == DCERPC_FAULT_OP_RNG_ERROR) { i--; diff --git a/source4/torture/rpc/scanner.c b/source4/torture/rpc/scanner.c index b761f406ec..8e5016be6c 100644 --- a/source4/torture/rpc/scanner.c +++ b/source4/torture/rpc/scanner.c @@ -61,7 +61,7 @@ static bool test_num_calls(struct torture_context *tctx, memset(stub_in.data, 0xFF, stub_in.length); for (i=0;i<200;i++) { - status = dcerpc_request(p, NULL, i, false, mem_ctx, &stub_in, &stub_out); + status = dcerpc_request(p, NULL, i, mem_ctx, &stub_in, &stub_out); if (!NT_STATUS_IS_OK(status) && p->last_fault_code == DCERPC_FAULT_OP_RNG_ERROR) { break; |