summaryrefslogtreecommitdiff
path: root/source4/client/cifsdd.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-12-03 23:33:22 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:47:55 +0100
commit509e82e402d64c79f27c9a10d75b100a1ac5fefa (patch)
treea7770d609512848c17f413764e9dc0bd43acce5d /source4/client/cifsdd.c
parentda0f222f432c4fc8bf5da80baf849ca32b315ca0 (diff)
downloadsamba-509e82e402d64c79f27c9a10d75b100a1ac5fefa.tar.gz
r26272: Remove global_loadparm in some more places.
(This used to be commit 1ab76ecc5311fa863e5d04899b6f110899818f55)
Diffstat (limited to 'source4/client/cifsdd.c')
-rw-r--r--source4/client/cifsdd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/client/cifsdd.c b/source4/client/cifsdd.c
index aa63edcd7aa..06a5f79ed79 100644
--- a/source4/client/cifsdd.c
+++ b/source4/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;;) {