# | Line 153 | Line 153 | char *p; | |
---|---|---|
153 | ungetc(buf[MAXLINE-2], fp); /* prevent false end */ | |
154 | buf[MAXLINE-2] = '\0'; | |
155 | } | |
156 | < | if (f != NULL) |
157 | < | (*f)(buf, p); |
156 | > | if (f != NULL && (*f)(buf, p) < 0) |
157 | > | return(-1); |
158 | } | |
159 | } | |
160 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |