summaryrefslogtreecommitdiff
path: root/source4/nbt_server/wins
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
commit2da3464080e1a45f5c76231668a546ad7f10e790 (patch)
treebe874a6f1b8eef3cdf0a485b27dfcc454a340707 /source4/nbt_server/wins
parent2c8c9a535500e40084c4810da1890df8d9415659 (diff)
downloadsamba-2da3464080e1a45f5c76231668a546ad7f10e790.tar.gz
samba-2da3464080e1a45f5c76231668a546ad7f10e790.tar.bz2
samba-2da3464080e1a45f5c76231668a546ad7f10e790.zip
r26670: Janitorial: Remove global_loadparm uses.
(This used to be commit 13cc6ca1d3c2b5899bdd02c4c7306a92baa260f5)
Diffstat (limited to 'source4/nbt_server/wins')
-rw-r--r--source4/nbt_server/wins/winswack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/nbt_server/wins/winswack.c b/source4/nbt_server/wins/winswack.c
index 929155c842..43d2747ae7 100644
--- a/source4/nbt_server/wins/winswack.c
+++ b/source4/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;