Skip to content

Commit bd3b345

Browse files
committed
vcardparser.c: use stderr for partial parse
1 parent 9b998c3 commit bd3b345

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/libicalvcard/vcardparser.c

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

10331033
vcardparser_free(&parser);

0 commit comments

Comments
 (0)