summaryrefslogtreecommitdiff
path: root/source4/rpc_server/spoolss
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-24 18:15:09 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-24 18:15:09 +0200
commite72e2773c499a3b2538be71d8be59944a6b03007 (patch)
treecb6e9b4f4a6700c4c730b62b3f4017a0d110440a /source4/rpc_server/spoolss
parentd6afe7c61a7ba36253321bbdac7b65fc925cacde (diff)
downloadsamba-e72e2773c499a3b2538be71d8be59944a6b03007.tar.gz
samba-e72e2773c499a3b2538be71d8be59944a6b03007.tar.bz2
samba-e72e2773c499a3b2538be71d8be59944a6b03007.zip
Remove another use of global_loadparm.
Diffstat (limited to 'source4/rpc_server/spoolss')
-rw-r--r--source4/rpc_server/spoolss/dcesrv_spoolss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/rpc_server/spoolss/dcesrv_spoolss.c b/source4/rpc_server/spoolss/dcesrv_spoolss.c
index 28e30002e2..a183ccb9f0 100644
--- a/source4/rpc_server/spoolss/dcesrv_spoolss.c
+++ b/source4/rpc_server/spoolss/dcesrv_spoolss.c
@@ -39,7 +39,7 @@ enum spoolss_handle {
((info)?ndr_size_##fn(info, level, 0):0)
#define SPOOLSS_BUFFER_UNION_ARRAY(fn,info,level,count) \
- ((info)?ndr_size_##fn##_info(dce_call, level, count, info):0)
+ ((info)?ndr_size_##fn##_info(dce_call, lp_iconv_convenience(dce_call->conn->dce_ctx->lp_ctx), level, count, info):0)
#define SPOOLSS_BUFFER_OK(val_true,val_false) ((r->in.offered >= r->out.needed)?val_true:val_false)