diff options
author | Linus Walleij <triad@df.lth.se> | 2009-06-20 12:37:46 +0000 |
---|---|---|
committer | Linus Walleij <triad@df.lth.se> | 2009-06-20 12:37:46 +0000 |
commit | 0e47b5a42927b5cb71e6798c32b8ea4d64152c3b (patch) | |
tree | b32f75823e521acf7e401c70f838f1fd39f6fef7 /examples | |
parent | ef711cb7a1446b99a3fcef8e2512675372d3c024 (diff) | |
download | libmtp-0e47b5a42927b5cb71e6798c32b8ea4d64152c3b.tar.gz |
Detect VCF files
Diffstat (limited to 'examples')
-rw-r--r-- | examples/pathutils.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/pathutils.c b/examples/pathutils.c index 63bdbd7..419a543 100644 --- a/examples/pathutils.c +++ b/examples/pathutils.c @@ -213,6 +213,8 @@ find_filetype (const char * filename) filetype = LIBMTP_FILETYPE_JPX; } else if (!strcasecmp (ptype, "bin")) { filetype = LIBMTP_FILETYPE_FIRMWARE; + } else if (!strcasecmp (ptype, "vcf")) { + filetype = LIBMTP_FILETYPE_VCARD3; } else { /* Tagging as unknown file type */ filetype = LIBMTP_FILETYPE_UNKNOWN; |