summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2007-03-05 11:48:15 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:49:15 -0500
commit0a1fefe5397d4bcc4c81f0102b38f868e4c84dbf (patch)
treec650eeab9707ea084d435e83fd795991d4553041 /source4/torture
parentc069ead0bb543b397542a94fbf4ca836653e2159 (diff)
downloadsamba-0a1fefe5397d4bcc4c81f0102b38f868e4c84dbf.tar.gz
samba-0a1fefe5397d4bcc4c81f0102b38f868e4c84dbf.tar.bz2
samba-0a1fefe5397d4bcc4c81f0102b38f868e4c84dbf.zip
r21699: Because TALLOC_CTX is a void*, I didn't get a compiler warning about
this incorrect argument. This also fixes the server-side valgrind issue, but we need to chase down the real issue. Andrew Bartlett (This used to be commit a0c78a75acb9bc581dd8d2688aa91d7b59549c3e)
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/rpc/countcalls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/rpc/countcalls.c b/source4/torture/rpc/countcalls.c
index 80fdfd04c4..b4e5d3c4ac 100644
--- a/source4/torture/rpc/countcalls.c
+++ b/source4/torture/rpc/countcalls.c
@@ -58,7 +58,7 @@ BOOL count_calls(TALLOC_CTX *mem_ctx,
printf("\nScanning pipe '%s'\n", iface->name);
for (i=0;i<500;i++) {
- status = dcerpc_request(p, mem_ctx, i, False, p, &stub_in, &stub_out);
+ status = dcerpc_request(p, NULL, i, False, 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--;