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 | |
parent | 6de57e42c294763c78d77b0a9a7c5a08008a378a (diff) | |
download | FreeBSD-src-f05428e4cd63dde97bac14b84dd146a5c00455e3.zip FreeBSD-src-f05428e4cd63dde97bac14b84dd146a5c00455e3.tar.gz |
Remove trailing whitespace.
Diffstat (limited to 'libexec/talkd')
-rw-r--r-- | libexec/talkd/announce.c | 6 | ||||
-rw-r--r-- | libexec/talkd/print.c | 6 | ||||
-rw-r--r-- | libexec/talkd/table.c | 4 | ||||
-rw-r--r-- | libexec/talkd/talkd.c | 2 |
4 files changed, 9 insertions, 9 deletions
diff --git a/libexec/talkd/announce.c b/libexec/talkd/announce.c index 9022a12..db03bbf 100644 --- a/libexec/talkd/announce.c +++ b/libexec/talkd/announce.c @@ -55,9 +55,9 @@ extern char hostname[]; /* * Announce an invitation to talk. */ - + /* - * See if the user is accepting messages. If so, announce that + * See if the user is accepting messages. If so, announce that * a talk is requested. */ announce(request, remote_machine) @@ -80,7 +80,7 @@ announce(request, remote_machine) #define N_CHARS 120 /* - * Build a block of characters containing the message. + * Build a block of characters containing the message. * It is sent blank filled and in a single block to * try to keep the message in one piece if the recipient * in in vi at the time 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; diff --git a/libexec/talkd/table.c b/libexec/talkd/table.c index cc8cb66..ef57206 100644 --- a/libexec/talkd/table.c +++ b/libexec/talkd/table.c @@ -38,7 +38,7 @@ static char sccsid[] = "@(#)table.c 8.1 (Berkeley) 6/4/93"; /* * Routines to handle insertion, deletion, etc on the table * of requests kept by the daemon. Nothing fancy here, linear - * search on a double-linked list. A time is kept with each + * search on a double-linked list. A time is kept with each * entry so that overly old invitations can be eliminated. * * Consider this a mis-guided attempt at modularity @@ -110,7 +110,7 @@ find_match(request) /* * Look for an identical request, as opposed to a complimentary - * one as find_match does + * one as find_match does */ CTL_MSG * find_request(request) diff --git a/libexec/talkd/talkd.c b/libexec/talkd/talkd.c index ea48376..9fd5950 100644 --- a/libexec/talkd/talkd.c +++ b/libexec/talkd/talkd.c @@ -43,7 +43,7 @@ static char sccsid[] = "@(#)talkd.c 8.1 (Berkeley) 6/4/93"; /* * The top level of the daemon, the format is heavily borrowed - * from rwhod.c. Basically: find out who and where you are; + * from rwhod.c. Basically: find out who and where you are; * disconnect all descriptors and ttys, and then endless * loop on waiting for and processing requests */ |