summaryrefslogtreecommitdiff
path: root/source4/libnet/libnet_lookup.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-12-07 02:37:13 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:48:41 +0100
commit6c77f353d3d952b46b401ab29837ba5b75e353c2 (patch)
treec78d6030280662a3a96b5a94c677f76fa47d2ed4 /source4/libnet/libnet_lookup.c
parent4c4323009fa83f00ed319de59a3aad48fcd65994 (diff)
downloadsamba-6c77f353d3d952b46b401ab29837ba5b75e353c2.tar.gz
samba-6c77f353d3d952b46b401ab29837ba5b75e353c2.tar.bz2
samba-6c77f353d3d952b46b401ab29837ba5b75e353c2.zip
r26328: remove more uses of global_loadparm.
(This used to be commit 40ae12c08647c47a9c504d39ee6f61c32b4e5748)
Diffstat (limited to 'source4/libnet/libnet_lookup.c')
-rw-r--r--source4/libnet/libnet_lookup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libnet/libnet_lookup.c b/source4/libnet/libnet_lookup.c
index 459e5b1985..5788a56a88 100644
--- a/source4/libnet/libnet_lookup.c
+++ b/source4/libnet/libnet_lookup.c
@@ -192,7 +192,7 @@ struct composite_context* libnet_LookupDCs_send(struct libnet_context *ctx,
{
struct composite_context *c;
struct messaging_context *msg_ctx =
- messaging_client_init(mem_ctx, lp_messaging_path(mem_ctx, global_loadparm), ctx->event_ctx);
+ messaging_client_init(mem_ctx, lp_messaging_path(mem_ctx, ctx->lp_ctx), ctx->event_ctx);
c = finddcs_send(mem_ctx, io->in.domain_name, io->in.name_type,
NULL, ctx->name_res_methods, ctx->event_ctx, msg_ctx);