summaryrefslogtreecommitdiff
path: root/source4/lib/charset/charcnv.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-09-27 23:31:28 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:07:24 -0500
commit3048e9ad654506219b169a934edded388d10fcad (patch)
treec1844fe26108014e59c2be927266783b67124e6e /source4/lib/charset/charcnv.c
parent3ff257b36b9a7adb986f39f66b2c8181b61a29ee (diff)
downloadsamba-3048e9ad654506219b169a934edded388d10fcad.tar.gz
samba-3048e9ad654506219b169a934edded388d10fcad.tar.bz2
samba-3048e9ad654506219b169a934edded388d10fcad.zip
r25392: Add loadparm context as argument in a couple more places.
(This used to be commit c62f51cc28a37959128e78a1f34cfd4c6d3ba069)
Diffstat (limited to 'source4/lib/charset/charcnv.c')
-rw-r--r--source4/lib/charset/charcnv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/charset/charcnv.c b/source4/lib/charset/charcnv.c
index ca96277679..d0c4461cc8 100644
--- a/source4/lib/charset/charcnv.c
+++ b/source4/lib/charset/charcnv.c
@@ -119,7 +119,7 @@ static smb_iconv_t get_conv_handle(charset_t from, charset_t to)
strcasecmp(charset_name(CH_DOS), "ASCII") != 0) {
DEBUG(0,("dos charset '%s' unavailable - using ASCII\n",
charset_name(CH_DOS)));
- lp_set_cmdline("dos charset", "ASCII");
+ lp_set_cmdline(global_loadparm, "dos charset", "ASCII");
n1 = charset_name(from);
n2 = charset_name(to);