]> git.marmaro.de Git - mmh/commitdiff
use old error message
authorPhilipp Takacs <philipp@bureaucracy.de>
Sun, 8 May 2016 16:40:51 +0000 (18:40 +0200)
committerPhilipp Takacs <philipp@bureaucracy.de>
Sun, 8 May 2016 16:40:51 +0000 (18:40 +0200)
uip/scansbr.c

index 04958388be8349796f5279c9c851b49746499cea..48837d76033fa45a2ac45c0b4258d74c92f8a034 100644 (file)
@@ -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 ",