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

abartlet at samba.org abartlet at samba.org
Sun Aug 13 12:34:41 GMT 2006


Author: abartlet
Date: 2006-08-13 12:34:41 +0000 (Sun, 13 Aug 2006)
New Revision: 17522

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

Log:
Fix another declaration after statement.

Andrew Bartlett

Modified:
   branches/SAMBA_4_0/source/torture/misc.c


Changeset:
Modified: branches/SAMBA_4_0/source/torture/misc.c
===================================================================
--- branches/SAMBA_4_0/source/torture/misc.c	2006-08-13 11:57:34 UTC (rev 17521)
+++ branches/SAMBA_4_0/source/torture/misc.c	2006-08-13 12:34:41 UTC (rev 17522)
@@ -614,6 +614,7 @@
 				struct benchrw_state *state)
 {
 	union smb_open *open_parms;	
+	uint8_t *writedata;	
 		
 	NT_STATUS_NOT_OK_RETURN(req->status);
 	
@@ -633,7 +634,6 @@
 	open_parms->openx.in.timeout = 0;
 	open_parms->openx.in.fname = state->fname;
 		
-	uint8_t *writedata;	
 	writedata = talloc_size(state->mem_ctx,state->lp_params->blocksize);
 	NT_STATUS_HAVE_NO_MEMORY(writedata);
 	generate_random_buffer(writedata,state->lp_params->blocksize);



More information about the samba-cvs mailing list