| 503 | } |
| 504 | |
| 505 | void |
| 506 | ckmailstatus(void) |
| 507 | { |
| 508 | struct mail_info *brdcst, *parse_next_broadcast(); |
| 509 | |
| 510 | while (broadcasts > 0) { /* process all trapped broadcasts [until] */ |
| 511 | broadcasts--; |
| 512 | if ((brdcst = parse_next_broadcast()) != 0) { |
| 513 | newmail(brdcst); |
| 514 | break; /* only handle one real message at a time */ |
| 515 | } else |
| 516 | printf("\n--< non-broadcast encountered >--\n"); |
| 517 | } |
| 518 | } |
| 519 | |
| 520 | int |
| 521 | main(int argc UNUSED, char *argv[] UNUSED) |
no test coverage detected