1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

fixed uninitialised variable

(This used to be commit a03992f19b)
This commit is contained in:
Andrew Tridgell 2001-07-04 07:50:54 +00:00
parent 749bf905d5
commit 0225d0c26d

View File

@ -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";