Skip to content

Commit

Permalink
vcardparser.c: also include the errstr
Browse files Browse the repository at this point in the history
  • Loading branch information
ksmurchison committed Apr 25, 2024
1 parent bd3b345 commit 2bdeddc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/libicalvcard/vcardparser.c
Original file line number Diff line number Diff line change
Expand Up @@ -1026,7 +1026,8 @@ vcardcomponent *vcardparser_parse_string(const char *str)
}
}
else {
fprintf(stderr, "vcardparser_parse_string() failed:\n%s\n",
fprintf(stderr, "vcardparser_parse_string() failed: %s\n%s\n",
vcardparser_errstr(r),
vcardcomponent_as_vcard_string(parser.root));
}

Expand Down

0 comments on commit 2bdeddc

Please sign in to comment.