From: Philipp Takacs Date: Sun, 8 May 2016 16:40:51 +0000 (+0200) Subject: use old error message X-Git-Tag: mmh-0.3~28 X-Git-Url: http://git.marmaro.de/?p=mmh;a=commitdiff_plain;h=49f93810142f22bc3bc86a9ccbe96f1f56b578ac use old error message --- 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 ",