diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-12-03 23:33:22 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-12-21 05:47:55 +0100 |
commit | 1ab76ecc5311fa863e5d04899b6f110899818f55 (patch) | |
tree | ac160cae60bda9472140c603e171aa829d1f7cb7 /source/client | |
parent | e9875fcd56de0748ed78d7e3c9cdb4919cd96d3c (diff) | |
download | samba-1ab76ecc5311fa863e5d04899b6f110899818f55.tar.gz |
r26272: Remove global_loadparm in some more places.
Diffstat (limited to 'source/client')
-rw-r--r-- | source/client/cifsdd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/client/cifsdd.c b/source/client/cifsdd.c index aa63edcd7aa..06a5f79ed79 100644 --- a/source/client/cifsdd.c +++ b/source/client/cifsdd.c @@ -426,10 +426,10 @@ static int copy_files(struct loadparm_context *lp_ctx) return(EOM_EXIT_CODE); } - set_max_xmit(global_loadparm, MAX(ibs, obs)); + set_max_xmit(lp_ctx, MAX(ibs, obs)); DEBUG(4, ("IO buffer size is %llu, max xmit is %d\n", - (unsigned long long)iomax, lp_max_xmit(global_loadparm))); + (unsigned long long)iomax, lp_max_xmit(lp_ctx))); if (!(ifile = open_file("if"))) { return(FILESYS_EXIT_CODE); @@ -443,7 +443,7 @@ static int copy_files(struct loadparm_context *lp_ctx) ifile->io_seek(ifile, check_arg_numeric("skip") * ibs); ofile->io_seek(ofile, check_arg_numeric("seek") * obs); - DEBUG(4, ("max xmit was negotiated to be %d\n", lp_max_xmit(global_loadparm))); + DEBUG(4, ("max xmit was negotiated to be %d\n", lp_max_xmit(lp_ctx))); for (data_size = 0;;) { |