1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

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 a0c78a75ac)
This commit is contained in:
Andrew Bartlett 2007-03-05 11:48:15 +00:00 committed by Gerald (Jerry) Carter
parent c069ead0bb
commit 0a1fefe539

View File

@ -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--;