summaryrefslogtreecommitdiff
path: root/source/nbt_server
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-01-05 15:36:37 -0600
committerStefan Metzmacher <metze@samba.org>2008-01-05 09:42:02 -0600
commit13cc6ca1d3c2b5899bdd02c4c7306a92baa260f5 (patch)
tree782ec058dcb32910680b8cd61d01da82b8df694e /source/nbt_server
parent50c46160d997e0448f51ae09e0f3c79e8519fa41 (diff)
downloadsamba-13cc6ca1d3c2b5899bdd02c4c7306a92baa260f5.tar.gz
r26670: Janitorial: Remove global_loadparm uses.
Diffstat (limited to 'source/nbt_server')
-rw-r--r--source/nbt_server/wins/winswack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/nbt_server/wins/winswack.c b/source/nbt_server/wins/winswack.c
index 929155c8429..43d2747ae78 100644
--- a/source/nbt_server/wins/winswack.c
+++ b/source/nbt_server/wins/winswack.c
@@ -306,7 +306,7 @@ NTSTATUS nbtd_proxy_wins_challenge(struct irpc_message *msg,
s->req = req;
s->io.in.nbtd_server = nbtd_server;
- s->io.in.nbt_port = lp_nbt_port(global_loadparm);
+ s->io.in.nbt_port = lp_nbt_port(nbtd_server->task->lp_ctx);
s->io.in.event_ctx = msg->ev;
s->io.in.name = &req->in.name;
s->io.in.num_addresses = req->in.num_addrs;