From 72017b0183f2d0a10d890fe3f6e509d297058c69 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 15 Mar 2006 10:24:56 +0000 Subject: r14437: fix warnings metze (This used to be commit 2017c2573ecbe49b5b7456bfcc3e1c7ca5934a54) --- source4/torture/torture.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/torture') diff --git a/source4/torture/torture.c b/source4/torture/torture.c index 0008d348e0..ae0e1d20fd 100644 --- a/source4/torture/torture.c +++ b/source4/torture/torture.c @@ -2036,7 +2036,7 @@ double torture_create_procs(BOOL (*fn)(struct smbcli_state *, int), BOOL *result 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 @@ static void max_runtime_handler(int sig) 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]); -- cgit