Dear Maintainer,
I did some testing with mutt-vc-query using an old Google vcf export.
Doing so I noted that mutt_vc_query stops parsing a vcf file if a
vcard contains an empty FN: field.
I attached an minimal example, which contains 3 VCARDs (a@example.com,
b@example.com and c@example.com).
All three entries have a FN: field, but the one of B is empty.
Running mutt_vc_query on this file does not see user C:
$ mutt_vc_query -f emptyname.vcf example.com
Searching database ... 2 entries ... 1 matching.
a@example.com A
If I manually remove the empty FN: line, all 3 lines are checked and C
is shown:
$ mutt_vc_query -f emptyname.vcf example.com
Searching database ... 3 entries ... 2 matching.
a@example.com A
c@example.com C
You can try this out with lager vcf files, after an empty "FN:" field
every succeeding vcards are not parsed.
The same problem can be triggered with an empty "N:" field.
Since there were no problem relevant changes in mutt-vc-query and
libvc since stable, the problem should also exist in testing/unstable
versions.
Greetings
Roland