# | Line 241 | Line 241 | mycheck( /* check a header line for format info. */ | |
---|---|---|
241 | void *cp | |
242 | ) | |
243 | { | |
244 | < | if (!formatval(((struct check*)cp)->fs, s) |
245 | < | && ((struct check*)cp)->fp != NULL) { |
246 | < | fputs(s, ((struct check*)cp)->fp); |
247 | < | } |
244 | > | struct check *scp = (struct check *)cp; |
245 | > | |
246 | > | if (!formatval(scp->fs, s) && scp->fp != NULL) |
247 | > | fputs(s, scp->fp); |
248 | > | |
249 | return(0); | |
250 | } | |
251 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |