summaryrefslogtreecommitdiff
path: root/source4/wrepl_server
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-01-05 15:36:33 -0600
committerStefan Metzmacher <metze@samba.org>2008-01-05 09:42:02 -0600
commit2c8c9a535500e40084c4810da1890df8d9415659 (patch)
tree4ddfde12662feb02646d1ab8bc6c8e57bcea19aa /source4/wrepl_server
parenta5301d220439e096c996629146128423ee47a868 (diff)
downloadsamba-2c8c9a535500e40084c4810da1890df8d9415659.tar.gz
samba-2c8c9a535500e40084c4810da1890df8d9415659.tar.bz2
samba-2c8c9a535500e40084c4810da1890df8d9415659.zip
r26669: Janitorial: Remove uses of global_loadparm.
(This used to be commit 50c46160d997e0448f51ae09e0f3c79e8519fa41)
Diffstat (limited to 'source4/wrepl_server')
-rw-r--r--source4/wrepl_server/wrepl_in_connection.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/wrepl_server/wrepl_in_connection.c b/source4/wrepl_server/wrepl_in_connection.c
index f2cf7c6113..721a005213 100644
--- a/source4/wrepl_server/wrepl_in_connection.c
+++ b/source4/wrepl_server/wrepl_in_connection.c
@@ -66,7 +66,7 @@ static NTSTATUS wreplsrv_recv_request(void *private, DATA_BLOB blob)
packet_in_blob.length = blob.length - 4;
ndr_err = ndr_pull_struct_blob(&packet_in_blob, call,
- lp_iconv_convenience(global_loadparm),
+ lp_iconv_convenience(wreplconn->service->task->lp_ctx),
&call->req_packet,
(ndr_pull_flags_fn_t)ndr_pull_wrepl_packet);
if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
@@ -91,7 +91,7 @@ static NTSTATUS wreplsrv_recv_request(void *private, DATA_BLOB blob)
/* and now encode the reply */
packet_out_wrap.packet = call->rep_packet;
ndr_err = ndr_push_struct_blob(&packet_out_blob, call,
- lp_iconv_convenience(global_loadparm),
+ lp_iconv_convenience(wreplconn->service->task->lp_ctx),
&packet_out_wrap,
(ndr_push_flags_fn_t)ndr_push_wrepl_wrap);
if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {