Skip to content

Commit ec84461

Browse files
committed
ARGH!!!
1 parent 1020d7f commit ec84461

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
@@ -868,6 +868,7 @@ static int _parse_vcard(struct vcardparser_state *state,
868868
const char *cardstart = state->p;
869869
int r = 0;
870870

871+
fprintf(stderr, "parse vcard(%s)\n", cardstart);
871872
while (*state->p) {
872873
fprintf(stderr, "p: '%c'\n", *state->p);
873874
/* whitespace is very skippable before AND afterwards */
@@ -898,6 +899,7 @@ fprintf(stderr, "BEGIN val: '%s'\n", val);
898899
sub = vcardcomponent_new(kind);
899900
vcardcomponent_add_component(comp, sub);
900901
r = _parse_vcard(state, sub, /*only_one*/0);
902+
fprintf(stderr, "returned from recursion\n");
901903
if (r || only_one) break;
902904
}
903905
else if (!comp) {
@@ -919,7 +921,6 @@ fprintf(stderr, "END val: '%s'\n", val);
919921
state->itemstart = cardstart;
920922
fprintf(stderr, "BEGIN comp (%u) != END (%u)\n",
921923
vcardcomponent_isa(comp), kind);
922-
fprintf(stderr, "cardstart: '%s'\n", cardstart);
923924
r = PE_MISMATCHED_CARD;
924925
}
925926

0 commit comments

Comments
 (0)