Commit c0f5d97a authored by Ronan's avatar Ronan
Browse files

fix(MainDb): avoid xml copy in extractFileContentType

parent f1dbb519
......@@ -1069,7 +1069,7 @@ void MainDbPrivate::importLegacyFriends (DbSession &inDbSession) {
static string extractFileContentType(string xml) {
static string extractFileContentType (const string &xml) {
string contentTypeString;
xmlDocPtr xmlMessageBody;
xmlNodePtr cur;
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