- Timestamp:
- 2011-07-02T16:34:42Z (13 years ago)
- Branches:
- master
- Children:
- a010498
- Parents:
- 9e7a566
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/misc.c
r9e7a566 rf5da476 400 400 cd = g_iconv_open( to_cs, from_cs ); 401 401 if( cd == (GIConv) -1 ) 402 return ( -1 );402 return -1; 403 403 404 404 inbytesleft = size ? size : strlen( src ); … … 408 408 g_iconv_close( cd ); 409 409 410 if( res == (size_t) -1)411 return ( -1 );410 if( res != 0 ) 411 return -1; 412 412 else 413 return ( outbuf - dst );413 return outbuf - dst; 414 414 } 415 415
Note: See TracChangeset
for help on using the changeset viewer.