diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-03-25 08:37:00 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2011-03-25 04:37:06 +0100 |
commit | b5616adc8adbcee61bb670378f9c066225d9dcf3 (patch) | |
tree | 29cf788ade306c9ec3eb95493a6db71a7936f898 /lib/util/charset/tests | |
parent | 7824111d07ae12b34e03da1e72884d421a9f9f33 (diff) | |
download | samba-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 'lib/util/charset/tests')
-rw-r--r-- | lib/util/charset/tests/iconv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/util/charset/tests/iconv.c b/lib/util/charset/tests/iconv.c index 9b48771b16..c27c263cfc 100644 --- a/lib/util/charset/tests/iconv.c +++ b/lib/util/charset/tests/iconv.c @@ -289,7 +289,7 @@ static bool test_codepoint(struct torture_context *tctx, unsigned int codepoint) size_t size, size2; codepoint_t c; - size = push_codepoint_convenience(lpcfg_iconv_convenience(tctx->lp_ctx), (char *)buf, codepoint); + size = push_codepoint_handle(lpcfg_iconv_handle(tctx->lp_ctx), (char *)buf, codepoint); torture_assert(tctx, size != -1 || (codepoint >= 0xd800 && codepoint <= 0x10000), "Invalid Codepoint range"); @@ -300,7 +300,7 @@ static bool test_codepoint(struct torture_context *tctx, unsigned int codepoint) buf[size+2] = random(); buf[size+3] = random(); - c = next_codepoint_convenience(lpcfg_iconv_convenience(tctx->lp_ctx), (char *)buf, &size2); + c = next_codepoint_handle(lpcfg_iconv_handle(tctx->lp_ctx), (char *)buf, &size2); torture_assert(tctx, c == codepoint, talloc_asprintf(tctx, |