Line | |
---|
1 | #include "sysutil.h"
|
---|
2 |
|
---|
3 | /*===========================================================================*
|
---|
4 | * report *
|
---|
5 | *===========================================================================*/
|
---|
6 | PUBLIC void report(who, mess, num)
|
---|
7 | char *who; /* server identification */
|
---|
8 | char *mess; /* message format to print */
|
---|
9 | int num; /* number to go with the message */
|
---|
10 | {
|
---|
11 | /* Display a message for a server. */
|
---|
12 |
|
---|
13 | if (num != NO_NUM) {
|
---|
14 | printf("%s: %s %d\n", who, mess, num);
|
---|
15 | } else {
|
---|
16 | printf("%s: %s\n", who, mess);
|
---|
17 | }
|
---|
18 | }
|
---|
19 |
|
---|
20 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.