From 0a1fefe5397d4bcc4c81f0102b38f868e4c84dbf Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 5 Mar 2007 11:48:15 +0000 Subject: 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) --- source4/torture/rpc/countcalls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4') 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--; -- cgit