aboutsummaryrefslogtreecommitdiff
path: root/libexec/talkd/print.c
diff options
context:
space:
mode:
authorRodney W. Grimes <rgrimes@FreeBSD.org>1995-05-30 05:51:47 +0000
committerRodney W. Grimes <rgrimes@FreeBSD.org>1995-05-30 05:51:47 +0000
commit6c06b4e2aa2a28d1f0bbd29ecdce35aaaf600ce8 (patch)
treee1331adb5d216f2b3fa6baa6491752348d2e5f10 /libexec/talkd/print.c
parenta2f0036ac41fe46dd47d6339982567f19437ade9 (diff)
Notes
Diffstat (limited to 'libexec/talkd/print.c')
-rw-r--r--libexec/talkd/print.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/talkd/print.c b/libexec/talkd/print.c
index 9c0085bc7688..0769d97eef5b 100644
--- a/libexec/talkd/print.c
+++ b/libexec/talkd/print.c
@@ -46,7 +46,7 @@ static char sccsid[] = "@(#)print.c 8.1 (Berkeley) 6/4/93";
static char *types[] =
{ "leave_invite", "look_up", "delete", "announce" };
#define NTYPES (sizeof (types) / sizeof (types[0]))
-static char *answers[] =
+static char *answers[] =
{ "success", "not_here", "failed", "machine_unknown", "permission_denied",
"unknown_request", "badversion", "badaddr", "badctladdr" };
#define NANSWERS (sizeof (answers) / sizeof (answers[0]))
@@ -56,7 +56,7 @@ print_request(cp, mp)
register CTL_MSG *mp;
{
char tbuf[80], *tp;
-
+
if (mp->type > NTYPES) {
(void)sprintf(tbuf, "type %d", mp->type);
tp = tbuf;
@@ -71,7 +71,7 @@ print_response(cp, rp)
register CTL_RESPONSE *rp;
{
char tbuf[80], *tp, abuf[80], *ap;
-
+
if (rp->type > NTYPES) {
(void)sprintf(tbuf, "type %d", rp->type);
tp = tbuf;