svn commit: samba r21699 - in branches/SAMBA_4_0/source/torture/rpc: .

abartlet at samba.org abartlet at samba.org
Mon Mar 5 11:48:16 GMT 2007


Author: abartlet
Date: 2007-03-05 11:48:15 +0000 (Mon, 05 Mar 2007)
New Revision: 21699

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=21699

Log:
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

Modified:
   branches/SAMBA_4_0/source/torture/rpc/countcalls.c


Changeset:
Modified: branches/SAMBA_4_0/source/torture/rpc/countcalls.c
===================================================================
--- branches/SAMBA_4_0/source/torture/rpc/countcalls.c	2007-03-05 10:28:24 UTC (rev 21698)
+++ branches/SAMBA_4_0/source/torture/rpc/countcalls.c	2007-03-05 11:48:15 UTC (rev 21699)
@@ -58,7 +58,7 @@
 	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--;



More information about the samba-cvs mailing list