2005-07-19 15:21:51 +02:00
|
|
|
#include "sysutil.h"
|
2005-04-21 16:53:53 +02:00
|
|
|
|
|
|
|
/*===========================================================================*
|
2005-06-01 16:31:00 +02:00
|
|
|
* report *
|
2005-04-21 16:53:53 +02:00
|
|
|
*===========================================================================*/
|
2005-06-01 16:31:00 +02:00
|
|
|
PUBLIC void report(who, mess, num)
|
2005-04-21 16:53:53 +02:00
|
|
|
char *who; /* server identification */
|
|
|
|
char *mess; /* message format to print */
|
|
|
|
int num; /* number to go with the message */
|
|
|
|
{
|
|
|
|
/* Display a message for a server. */
|
|
|
|
|
|
|
|
if (num != NO_NUM) {
|
|
|
|
printf("%s: %s %d\n", who, mess, num);
|
|
|
|
} else {
|
|
|
|
printf("%s: %s\n", who, mess);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|