File tree 1 file changed +3
-0
lines changed
1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -883,6 +883,7 @@ static int _parse_vcard(struct vcardparser_state *state,
883
883
884
884
if (kind == VCARD_NO_COMPONENT ) {
885
885
state -> itemstart = cardstart ;
886
+ fprintf (stderr , "BEGIN with unknown kind\n" );
886
887
r = PE_MISMATCHED_CARD ;
887
888
break ;
888
889
}
@@ -898,6 +899,7 @@ static int _parse_vcard(struct vcardparser_state *state,
898
899
else if (!comp ) {
899
900
/* no comp means we're at the top level, haven't seen a BEGIN! */
900
901
state -> itemstart = cardstart ;
902
+ fprintf (stderr , "toplevel with no BEGIN\n" );
901
903
r = PE_MISMATCHED_CARD ;
902
904
break ;
903
905
}
@@ -910,6 +912,7 @@ static int _parse_vcard(struct vcardparser_state *state,
910
912
/* special case mismatched card, the "start" was the start of
911
913
* the card */
912
914
state -> itemstart = cardstart ;
915
+ fprintf (stderr , "BEGIN comp != END\n" );
913
916
r = PE_MISMATCHED_CARD ;
914
917
}
915
918
You can’t perform that action at this time.
0 commit comments