mirror of
https://github.com/samba-team/samba.git
synced 2024-12-28 07:21:54 +03:00
Merge from 3.0:
>iconv isn't const safe. Neither should smb_iconv be. >Jeremy.
This commit is contained in:
parent
12659ae749
commit
7bd450f8b6
@ -136,7 +136,7 @@ static size_t sys_iconv(void *cd,
|
||||
* enough that Samba works on systems that don't have iconv.
|
||||
**/
|
||||
size_t smb_iconv(smb_iconv_t cd,
|
||||
const char **inbuf, size_t *inbytesleft,
|
||||
char **inbuf, size_t *inbytesleft,
|
||||
char **outbuf, size_t *outbytesleft)
|
||||
{
|
||||
char cvtbuf[2048];
|
||||
|
Loading…
Reference in New Issue
Block a user