Commit 6bcf9311 authored by Sylvain Berfini's avatar Sylvain Berfini 🎩

Fixed issue with lime file transfer

parent 46dbc8a4
......@@ -642,7 +642,9 @@ void ChatMessagePrivate::processResponseFromPostFile(const belle_http_response_e
}
// dump the xml into msg->message
xmlDocDumpFormatMemoryEnc(xmlMessageBody, (xmlChar **)&cText, &xmlStringLength, "UTF-8", 0);
char *buffer;
xmlDocDumpFormatMemoryEnc(xmlMessageBody, (xmlChar **)&buffer, &xmlStringLength, "UTF-8", 0);
setText(buffer);
break;
}
xmlFree(typeAttribute);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment