diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-12-06 17:16:40 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-12-21 05:48:27 +0100 |
commit | b440ed3df31b11d520c6d744cf53c54165f61b7a (patch) | |
tree | b50bb6ee0a73020a6a8e9a70753415da1d503990 /source4/lib/charset/tests | |
parent | 548c3e53574da71e1afc1ec31252478a1a2c303a (diff) | |
download | samba-b440ed3df31b11d520c6d744cf53c54165f61b7a.tar.gz samba-b440ed3df31b11d520c6d744cf53c54165f61b7a.tar.bz2 samba-b440ed3df31b11d520c6d744cf53c54165f61b7a.zip |
r26315: Avoid using lp_ functions in libcharset.
(This used to be commit db6dd425e3526c04e96d778a736dbb5cf14ddc56)
Diffstat (limited to 'source4/lib/charset/tests')
-rw-r--r-- | source4/lib/charset/tests/iconv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/charset/tests/iconv.c b/source4/lib/charset/tests/iconv.c index 9080dda40e..bc5ae62dae 100644 --- a/source4/lib/charset/tests/iconv.c +++ b/source4/lib/charset/tests/iconv.c @@ -157,8 +157,8 @@ static bool test_buffer(struct torture_context *test, "failed to open %s to UTF-16LE", charset)); } - cd2 = smb_iconv_open(charset, "UTF-16LE"); - cd3 = smb_iconv_open("UTF-16LE", charset); + cd2 = smb_iconv_open(charset, "UTF-16LE", lp_parm_bool(test->lp_ctx, NULL, "iconv", "native", true)); + cd3 = smb_iconv_open("UTF-16LE", charset, lp_parm_bool(test->lp_ctx, NULL, "iconv", "native", true)); last_charset = charset; } |