diff options
author | rgrimes <rgrimes@FreeBSD.org> | 1995-05-30 05:51:47 +0000 |
---|---|---|
committer | rgrimes <rgrimes@FreeBSD.org> | 1995-05-30 05:51:47 +0000 |
commit | f05428e4cd63dde97bac14b84dd146a5c00455e3 (patch) | |
tree | e1331adb5d216f2b3fa6baa6491752348d2e5f10 /libexec/talkd/print.c | |
parent | 6de57e42c294763c78d77b0a9a7c5a08008a378a (diff) | |
download | FreeBSD-src-f05428e4cd63dde97bac14b84dd146a5c00455e3.zip FreeBSD-src-f05428e4cd63dde97bac14b84dd146a5c00455e3.tar.gz |
Remove trailing whitespace.
Diffstat (limited to 'libexec/talkd/print.c')
-rw-r--r-- | libexec/talkd/print.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/talkd/print.c b/libexec/talkd/print.c index 9c0085b..0769d97 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; |