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 | |
parent | ef711cb7a1446b99a3fcef8e2512675372d3c024 (diff) | |
download | libmtp-0e47b5a42927b5cb71e6798c32b8ea4d64152c3b.tar.gz |
Detect VCF files
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | examples/pathutils.c | 2 |
2 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,7 @@ +2009-06-20 Linus Walleij <triad@df.lth.se> + + * examples/pathutils.c: detect VCF files too. + 2009-06-15 Marcus Meissner <meissner@suse.de> * configure.ac: use the AC_SYS_LARGEFILE macro instead 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; |