mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
parent
749bf905d5
commit
0225d0c26d
@ -85,7 +85,7 @@ static size_t convert_string(smb_iconv_t descriptor,
|
||||
o_len=destlen;
|
||||
retval=smb_iconv(descriptor,&inbuf, &i_len, &outbuf, &o_len);
|
||||
if(retval==-1)
|
||||
{ char *reason;
|
||||
{ char *reason="unknown error";
|
||||
switch(errno)
|
||||
{ case EINVAL: reason="Incomplete multybyte sequence"; break;
|
||||
case E2BIG: reason="No more room";
|
||||
|
Loading…
Reference in New Issue
Block a user