summaryrefslogtreecommitdiff
path: root/source4/param
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-24 14:45:31 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-24 14:45:31 +0200
commit61013deff80dbe3a3dfaa7b5060609500f1f63fa (patch)
tree77389b2f504d1347d2bdd1efc10656db8ad159cc /source4/param
parent56a0b035c676af73eaa93446132e930cc95fae94 (diff)
downloadsamba-61013deff80dbe3a3dfaa7b5060609500f1f63fa.tar.gz
samba-61013deff80dbe3a3dfaa7b5060609500f1f63fa.tar.bz2
samba-61013deff80dbe3a3dfaa7b5060609500f1f63fa.zip
Remove dependency of charset code on loadparm.
Diffstat (limited to 'source4/param')
-rw-r--r--source4/param/loadparm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/param/loadparm.c b/source4/param/loadparm.c
index fb8afe456c..a019c951de 100644
--- a/source4/param/loadparm.c
+++ b/source4/param/loadparm.c
@@ -2608,7 +2608,7 @@ struct smb_iconv_convenience *lp_iconv_convenience(struct loadparm_context *lp_c
_PUBLIC_ void reload_charcnv(struct loadparm_context *lp_ctx)
{
talloc_free(lp_ctx->iconv_convenience);
- lp_ctx->iconv_convenience = smb_iconv_convenience_init_lp(lp_ctx, lp_ctx);
+ global_iconv_convenience = lp_ctx->iconv_convenience = smb_iconv_convenience_init_lp(lp_ctx, lp_ctx);
}
void lp_smbcli_options(struct loadparm_context *lp_ctx,