svn commit: samba r24587 - in branches/SAMBA_4_0/source/torture/raw: .

tridge at samba.org tridge at samba.org
Tue Aug 21 01:25:16 GMT 2007


Author: tridge
Date: 2007-08-21 01:25:15 +0000 (Tue, 21 Aug 2007)
New Revision: 24587

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

Log:

the elements of the array are not talloc pointers

Modified:
   branches/SAMBA_4_0/source/torture/raw/lockbench.c
   branches/SAMBA_4_0/source/torture/raw/openbench.c


Changeset:
Modified: branches/SAMBA_4_0/source/torture/raw/lockbench.c
===================================================================
--- branches/SAMBA_4_0/source/torture/raw/lockbench.c	2007-08-21 01:17:13 UTC (rev 24586)
+++ branches/SAMBA_4_0/source/torture/raw/lockbench.c	2007-08-21 01:25:15 UTC (rev 24587)
@@ -251,8 +251,7 @@
 
 static void echo_completion(struct smbcli_request *req)
 {
-	struct benchlock_state *state = talloc_get_type(req->async.private, 
-							struct benchlock_state);
+	struct benchlock_state *state = (struct benchlock_state *)req->async.private;
 	NTSTATUS status = smbcli_request_simple_recv(req);
 	if (NT_STATUS_EQUAL(status, NT_STATUS_END_OF_FILE) ||
 	    NT_STATUS_EQUAL(status, NT_STATUS_LOCAL_DISCONNECT)) {

Modified: branches/SAMBA_4_0/source/torture/raw/openbench.c
===================================================================
--- branches/SAMBA_4_0/source/torture/raw/openbench.c	2007-08-21 01:17:13 UTC (rev 24586)
+++ branches/SAMBA_4_0/source/torture/raw/openbench.c	2007-08-21 01:25:15 UTC (rev 24587)
@@ -285,8 +285,7 @@
 
 static void echo_completion(struct smbcli_request *req)
 {
-	struct benchopen_state *state = talloc_get_type(req->async.private, 
-							struct benchopen_state);
+	struct benchlock_state *state = (struct benchlock_state *)req->async.private;
 	NTSTATUS status = smbcli_request_simple_recv(req);
 	if (NT_STATUS_EQUAL(status, NT_STATUS_END_OF_FILE) ||
 	    NT_STATUS_EQUAL(status, NT_STATUS_LOCAL_DISCONNECT)) {



More information about the samba-cvs mailing list