diff options
author | Jeremy Allison <jra@samba.org> | 2004-08-30 21:35:43 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:52:32 -0500 |
commit | 651daa4b4256455b26b0affcdc45fe328b128c99 (patch) | |
tree | 90abd017d3dd931fb128aecef300e6424b9f8179 /source3/modules | |
parent | f1688d61df13aacb0e512fd16504cc94f803d808 (diff) | |
download | samba-651daa4b4256455b26b0affcdc45fe328b128c99.tar.gz samba-651daa4b4256455b26b0affcdc45fe328b128c99.tar.bz2 samba-651daa4b4256455b26b0affcdc45fe328b128c99.zip |
r2114: Shameless theft of iconv commit from Samba4 to keep the two libs more in sync :-).
try to cope with a wider range of UTF-16 characters when we are using
an external libiconv library.
Jeremy.
(This used to be commit 5d04cd6804f6fc3b556e7c3b53fa0d7af39797c1)
Diffstat (limited to 'source3/modules')
-rw-r--r-- | source3/modules/weird.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/modules/weird.c b/source3/modules/weird.c index 444853f383..3c59fd9d61 100644 --- a/source3/modules/weird.c +++ b/source3/modules/weird.c @@ -31,7 +31,7 @@ static struct { {0, NULL} }; -static size_t weird_pull(void *cd, char **inbuf, size_t *inbytesleft, +static size_t weird_pull(void *cd, const char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft) { while (*inbytesleft >= 1 && *outbytesleft >= 2) { @@ -74,7 +74,7 @@ static size_t weird_pull(void *cd, char **inbuf, size_t *inbytesleft, return 0; } -static size_t weird_push(void *cd, char **inbuf, size_t *inbytesleft, +static size_t weird_push(void *cd, const char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft) { int ir_count=0; |