git.samba.org
/
ab
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c069ead
)
r21699: Because TALLOC_CTX is a void*, I didn't get a compiler warning about
author
Andrew Bartlett
<abartlet@samba.org>
Mon, 5 Mar 2007 11:48:15 +0000
(11:48 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 19:49:15 +0000
(14:49 -0500)
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
patch
|
blob
|
history
diff --git
a/source4/torture/rpc/countcalls.c
b/source4/torture/rpc/countcalls.c
index 80fdfd04c4cdb7bb8f676e1cd8f92cf46f900cc1..b4e5d3c4ac4aff1140a0d3f4cfd4721c0e48b8a9 100644
(file)
--- 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--;