diff options
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 aa63edcd7a..06a5f79ed7 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;;) { |