Commit 18f2e972 authored by Slava Monich's avatar Slava Monich

Merge pull request #16 from monich/vcard

[mms_task_encode] Added file extension mapping for vcards
parents ae378422 fd1cbc2b
......@@ -407,12 +407,14 @@ mms_task_encode_generate_path(
const char* type;
const char* ext;
} known_extensions [] = {
{ "image/jpeg", ".jpg" },
{ "image/png", ".png" },
{ "image/bmp", ".bmp" },
{ "image/gif", ".gif" },
{ "text/plain", ".txt" },
{ "text/html", ".html" },
{ "image/jpeg", ".jpg" },
{ "image/png", ".png" },
{ "image/bmp", ".bmp" },
{ "image/gif", ".gif" },
{ "text/x-vcard", ".vcf" },
{ "text/vcard", ".vcf" },
{ "text/plain", ".txt" },
{ "text/html", ".html" }
};
const char* type = parsed[0];
const char* known_ext = NULL;
......
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