From b65dba2245bf382c47d65c95ac9b1efa43918fc0 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 10 Dec 2007 04:33:16 +0100 Subject: r26355: Eliminate global_loadparm in more places. (This used to be commit 5d589a0d94bd76a9b4c9fc748854e8098ea43c4d) --- source4/client/client.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source4/client/client.c') diff --git a/source4/client/client.c b/source4/client/client.c index 6842e2e91d..9e031cd09e 100644 --- a/source4/client/client.c +++ b/source4/client/client.c @@ -3181,7 +3181,7 @@ static int do_message_op(const char *netbios_name, const char *desthost, const c } } - gensec_init(global_loadparm); + gensec_init(cmdline_lp_ctx); if(poptPeekArg(pc)) { char *s = strdup(poptGetArg(pc)); @@ -3220,11 +3220,11 @@ static int do_message_op(const char *netbios_name, const char *desthost, const c } if (query_host) { - return do_host_query(global_loadparm, query_host, lp_workgroup(global_loadparm)); + return do_host_query(cmdline_lp_ctx, query_host, lp_workgroup(cmdline_lp_ctx)); } if (message) { - return do_message_op(lp_netbios_name(global_loadparm), desthost, dest_ip, name_type, lp_name_resolve_order(global_loadparm), lp_max_xmit(global_loadparm), lp_maxmux(global_loadparm)); + return do_message_op(lp_netbios_name(cmdline_lp_ctx), desthost, dest_ip, name_type, lp_name_resolve_order(cmdline_lp_ctx), lp_max_xmit(cmdline_lp_ctx), lp_maxmux(cmdline_lp_ctx)); } -- cgit