summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/pathutils.c2
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;