diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-02-28 20:30:03 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-02-28 20:30:03 +0100 |
commit | 2946a11dc7d367128d8c002966ac19e3e36450dd (patch) | |
tree | 53740f663e7fd42fc4c5d488a3922254e0b51e68 /source4/torture/raw | |
parent | 2ba62662f8e2578153be3125eb557b9349ccfd3b (diff) | |
download | samba-2946a11dc7d367128d8c002966ac19e3e36450dd.tar.gz samba-2946a11dc7d367128d8c002966ac19e3e36450dd.tar.bz2 samba-2946a11dc7d367128d8c002966ac19e3e36450dd.zip |
Remove use of global_loadparm.
(This used to be commit 4472d7e1e47d4fe6b1c60e28d168cce99b237979)
Diffstat (limited to 'source4/torture/raw')
-rw-r--r-- | source4/torture/raw/composite.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/torture/raw/composite.c b/source4/torture/raw/composite.c index 7238a2fd46..1f31fbc515 100644 --- a/source4/torture/raw/composite.c +++ b/source4/torture/raw/composite.c @@ -31,6 +31,7 @@ #include "lib/cmdline/popt_common.h" #include "torture/util.h" #include "param/param.h" +#include "libcli/resolve/resolve.h" #define BASEDIR "\\composite" @@ -161,6 +162,7 @@ static bool test_fetchfile(struct smbcli_state *cli, struct torture_context *tct io2.in.credentials = cmdline_credentials; io2.in.workgroup = lp_workgroup(tctx->lp_ctx); io2.in.filename = fname; + io2.in.resolve_ctx = lp_resolve_context(tctx->lp_ctx); lp_smbcli_options(tctx->lp_ctx, &io2.in.options); printf("testing parallel fetchfile with %d ops\n", torture_numops); |