diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-12-03 18:47:35 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-12-21 05:47:39 +0100 |
commit | 1fbdd6ef1dfb8704de0524fc6f5c33e1418858cd (patch) | |
tree | 3e8c16ffd419fbd950fcef1569f0bc82709f5831 /source4/client | |
parent | cb7c72a0ef9a8e6d145ead6286e54ec50ddf3988 (diff) | |
download | samba-1fbdd6ef1dfb8704de0524fc6f5c33e1418858cd.tar.gz samba-1fbdd6ef1dfb8704de0524fc6f5c33e1418858cd.tar.bz2 samba-1fbdd6ef1dfb8704de0524fc6f5c33e1418858cd.zip |
r26264: pass name resolve order explicitly, use torture context for settings in dssync tests.
(This used to be commit c7eae1c7842f9ff8b70cce9e5d6f3ebbbe78e83b)
Diffstat (limited to 'source4/client')
-rw-r--r-- | source4/client/cifsdd.c | 6 |
1 files changed, 3 insertions, 3 deletions
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))); |