fix mingw compilation issue

This commit is contained in:
Jehan Monnier 2014-06-10 08:41:01 +02:00
parent 649a5a5fe8
commit 306a2647cf
2 changed files with 3 additions and 3 deletions

View file

@ -477,8 +477,8 @@ void linphone_core_message_received(LinphoneCore *lc, SalOp *op, const SalMessag
while (contentType[contentTypeIndex]!='/' && contentType[contentTypeIndex]!='\0') {
contentTypeIndex++;
}
msg->file_transfer_information->type = strndup((char *)contentType, contentTypeIndex);
msg->file_transfer_information->subtype = strdup(((char *)contentType+contentTypeIndex+1));
msg->file_transfer_information->type = ms_strdup((char *)contentType, contentTypeIndex);
msg->file_transfer_information->subtype = ms_strdup(((char *)contentType+contentTypeIndex+1));
xmlFree(contentType);
}
if (!xmlStrcmp(cur->name, (const xmlChar *)"data")) {

@ -1 +1 @@
Subproject commit 8b80c5023cabeb400826104b5641a9a6917ab4cf
Subproject commit ff45699c79c09eb2f57aa07d8e63c20e66e35073