From 2da3464080e1a45f5c76231668a546ad7f10e790 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sat, 5 Jan 2008 15:36:37 -0600 Subject: r26670: Janitorial: Remove global_loadparm uses. (This used to be commit 13cc6ca1d3c2b5899bdd02c4c7306a92baa260f5) --- source4/nbt_server/wins/winswack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/nbt_server') 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; -- cgit