X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fscansbr.c;h=48837d76033fa45a2ac45c0b4258d74c92f8a034;hp=04958388be8349796f5279c9c851b49746499cea;hb=6e9577f324bef90765a5edc02044eb111ec48072;hpb=e78afec69f277159f4b821b02b2280cb05b270bb diff --git a/uip/scansbr.c b/uip/scansbr.c index 0495838..48837d7 100644 --- a/uip/scansbr.c +++ b/uip/scansbr.c @@ -199,12 +199,15 @@ body:; state = FILEEOF2; goto finished; } - compnum++; - advise(NULL, "formate error in component #%d", compnum); + state = FLD2; + fprintf(stderr, innum ? + "??Format error (message %d) in " : + "??Format error in ", + outnum ? outnum : innum); + fprintf(stderr, "component %d\n", compnum); continue; case IOERR2: -handleerror:; fprintf(stderr, innum ? "??Format error (message %d) in " : "??Format error in ",