Skip to content

Commit

Permalink
vcardparser.c: spit out partially parsed vCard on error
Browse files Browse the repository at this point in the history
  • Loading branch information
ksmurchison committed Apr 25, 2024
1 parent e244d34 commit f12ad36
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/libicalvcard/vcardparser.c
Original file line number Diff line number Diff line change
Expand Up @@ -1025,6 +1025,10 @@ vcardcomponent *vcardparser_parse_string(const char *str)
parser.root = NULL;
}
}
else {
printf("vcardparser_parse_string() failed:\n%s\n",
vcardcomponent_as_vcard_string(parser.root));
}

vcardparser_free(&parser);

Expand Down

0 comments on commit f12ad36

Please sign in to comment.