summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-03-25 08:37:00 +1100
committerAndrew Tridgell <tridge@samba.org>2011-03-25 04:37:06 +0100
commitb5616adc8adbcee61bb670378f9c066225d9dcf3 (patch)
tree29cf788ade306c9ec3eb95493a6db71a7936f898 /source4/torture
parent7824111d07ae12b34e03da1e72884d421a9f9f33 (diff)
downloadsamba-b5616adc8adbcee61bb670378f9c066225d9dcf3.tar.gz
samba-b5616adc8adbcee61bb670378f9c066225d9dcf3.tar.bz2
samba-b5616adc8adbcee61bb670378f9c066225d9dcf3.zip
lib/util/charset rename iconv_convenience to iconv_handle
This better reflects what this structure is Andrew Bartlett
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/basic/charset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/basic/charset.c b/source4/torture/basic/charset.c
index 301efabf4f..e4974892c3 100644
--- a/source4/torture/basic/charset.c
+++ b/source4/torture/basic/charset.c
@@ -55,7 +55,7 @@ static NTSTATUS unicode_open(struct torture_context *tctx,
}
SSVAL(ucs_name, i*2, 0);
- if (!convert_string_talloc_convenience(ucs_name, lpcfg_iconv_convenience(tctx->lp_ctx), CH_UTF16, CH_UNIX, ucs_name, (1+u_name_len)*2, (void **)&fname, &i)) {
+ if (!convert_string_talloc_handle(ucs_name, lpcfg_iconv_handle(tctx->lp_ctx), CH_UTF16, CH_UNIX, ucs_name, (1+u_name_len)*2, (void **)&fname, &i)) {
torture_comment(tctx, "Failed to convert UCS2 Name into unix - convert_string_talloc() failure\n");
talloc_free(ucs_name);
return NT_STATUS_NO_MEMORY;