(foo)
| 484 | volatile int broadcasts = 0; |
| 485 | |
| 486 | void |
| 487 | newmail(foo) |
| 488 | struct mail_info *foo; |
| 489 | { |
| 490 | #define STRING(s) ((s) ? (s) : "<null>") |
| 491 | printf("\n\ |
| 492 | message type = %d\n\ |
| 493 | display text = \"%s\"\n\ |
| 494 | object name = \"%.*s\"\n\ |
| 495 | response cmd = \"%s\"\n\ |
| 496 | ", |
| 497 | foo->message_typ, STRING(foo->display_txt), |
| 498 | (foo->object_nam && foo->response_cmd) |
| 499 | ? (foo->response_cmd - foo->object_nam - 1) |
| 500 | : strlen(STRING(foo->object_nam)), |
| 501 | STRING(foo->object_nam), STRING(foo->response_cmd)); |
| 502 | #undef STRING |
| 503 | } |
| 504 | |
| 505 | void |
| 506 | ckmailstatus(void) |
no test coverage detected