From 1fbdd6ef1dfb8704de0524fc6f5c33e1418858cd Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 3 Dec 2007 18:47:35 +0100 Subject: r26264: pass name resolve order explicitly, use torture context for settings in dssync tests. (This used to be commit c7eae1c7842f9ff8b70cce9e5d6f3ebbbe78e83b) --- source4/client/cifsdd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source4/client') diff --git a/source4/client/cifsdd.c b/source4/client/cifsdd.c index a48235d047..6c3edeb892 100644 --- a/source4/client/cifsdd.c +++ b/source4/client/cifsdd.c @@ -390,12 +390,12 @@ static struct dd_iohandle * open_file(const char * which) return(handle); } -static void set_max_xmit(uint64_t iomax) +static void set_max_xmit(struct loadparm_context *lp_ctx, uint64_t iomax) { char buf[64]; snprintf(buf, sizeof(buf), "%llu", (unsigned long long)iomax); - lp_set_cmdline(global_loadparm, "max xmit", buf); + lp_set_cmdline(lp_ctx, "max xmit", buf); } static int copy_files(void) @@ -426,7 +426,7 @@ static int copy_files(void) return(EOM_EXIT_CODE); } - set_max_xmit(MAX(ibs, obs)); + set_max_xmit(global_loadparm, MAX(ibs, obs)); DEBUG(4, ("IO buffer size is %llu, max xmit is %d\n", (unsigned long long)iomax, lp_max_xmit(global_loadparm))); -- cgit