Skip to content

Commit 2bdeddc

Browse files
committed
vcardparser.c: also include the errstr
1 parent bd3b345 commit 2bdeddc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: src/libicalvcard/vcardparser.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -1026,7 +1026,8 @@ vcardcomponent *vcardparser_parse_string(const char *str)
10261026
}
10271027
}
10281028
else {
1029-
fprintf(stderr, "vcardparser_parse_string() failed:\n%s\n",
1029+
fprintf(stderr, "vcardparser_parse_string() failed: %s\n%s\n",
1030+
vcardparser_errstr(r),
10301031
vcardcomponent_as_vcard_string(parser.root));
10311032
}
10321033

0 commit comments

Comments
 (0)