git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40480 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -309,9 +309,8 @@ static int handle_non_rfc2047_encoding(char **buffer,size_t *bufferLength,size_t
|
|||||||
if (dest == NULL)
|
if (dest == NULL)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
if (convert_to_utf8(B_ISO1_CONVERSION,string,&length,dest,&destLength,&state) == B_OK)
|
if (convert_to_utf8(B_ISO1_CONVERSION, string, &length,dest,
|
||||||
{
|
&destLength, &state) == B_OK) {
|
||||||
free(*buffer);
|
|
||||||
*buffer = dest;
|
*buffer = dest;
|
||||||
*bufferLength = destBufferLength;
|
*bufferLength = destBufferLength;
|
||||||
*sourceLength = destLength;
|
*sourceLength = destLength;
|
||||||
|
|||||||
Reference in New Issue
Block a user