Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[mms_task_encode] Added file extension mapping for vcards
  • Loading branch information
monich committed Apr 3, 2014
1 parent ae37842 commit fd1cbc2
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions mms-lib/src/mms_task_encode.c
Expand Up @@ -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;
Expand Down

0 comments on commit fd1cbc2

Please sign in to comment.