summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-12-06 16:36:54 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:48:22 +0100
commitd378cf4c15e09b980f874bb103b28e89d9dd3a26 (patch)
tree85c625bb49c1fdb0bb353b91817c0d32ad3ccb49 /source4/torture
parentb84be078c197f9752b53d68c882f4d1b44979b8e (diff)
downloadsamba-d378cf4c15e09b980f874bb103b28e89d9dd3a26.tar.gz
samba-d378cf4c15e09b980f874bb103b28e89d9dd3a26.tar.bz2
samba-d378cf4c15e09b980f874bb103b28e89d9dd3a26.zip
r26310: Remove more uses of global_loadparm.
(This used to be commit 9d806da113b5f0688b6193dfdee9b8765e18b38f)
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/nbt/query.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/nbt/query.c b/source4/torture/nbt/query.c
index c5104f5f06..78210a2a07 100644
--- a/source4/torture/nbt/query.c
+++ b/source4/torture/nbt/query.c
@@ -62,7 +62,7 @@ static bool bench_namequery(struct torture_context *tctx)
io.in.name = name;
io.in.dest_addr = address;
- io.in.dest_port = lp_nbt_port(global_loadparm);
+ io.in.dest_port = lp_nbt_port(tctx->lp_ctx);
io.in.broadcast = false;
io.in.wins_lookup = false;
io.in.timeout = 1;