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

metze at samba.org metze at samba.org
Wed Mar 15 10:24:56 GMT 2006


Author: metze
Date: 2006-03-15 10:24:56 +0000 (Wed, 15 Mar 2006)
New Revision: 14437

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

Log:
fix warnings

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


Changeset:
Modified: branches/SAMBA_4_0/source/torture/torture.c
===================================================================
--- branches/SAMBA_4_0/source/torture/torture.c	2006-03-15 05:53:56 UTC (rev 14436)
+++ branches/SAMBA_4_0/source/torture/torture.c	2006-03-15 10:24:56 UTC (rev 14437)
@@ -2036,7 +2036,7 @@
 		procnum = i;
 		if (fork() == 0) {
 			char *myname;
-			const char *hostname=NULL, *sharename;
+			char *hostname=NULL, *sharename;
 
 			pid_t mypid = getpid();
 			srandom(((int)mypid) ^ ((int)time(NULL)));
@@ -2649,7 +2649,7 @@
 		lp_set_cmdline("torture:binding", argv_new[1]);
 	} else {
 		char *binding = NULL;
-		const char *host = NULL, *share = NULL;
+		char *host = NULL, *share = NULL;
 
 		if (!smbcli_parse_unc(argv_new[1], NULL, &host, &share)) {
 			d_printf("Invalid option: %s is not a valid torture target (share or binding string)\n\n", argv_new[1]);



More information about the samba-cvs mailing list