summaryrefslogtreecommitdiff
path: root/libexec/talkd
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
parenta2f0036ac41fe46dd47d6339982567f19437ade9 (diff)
Notes
Diffstat (limited to 'libexec/talkd')
-rw-r--r--libexec/talkd/announce.c6
-rw-r--r--libexec/talkd/print.c6
-rw-r--r--libexec/talkd/table.c4
-rw-r--r--libexec/talkd/talkd.c2
4 files changed, 9 insertions, 9 deletions
diff --git a/libexec/talkd/announce.c b/libexec/talkd/announce.c
index 9022a12b767e..db03bbfb8618 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 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;
diff --git a/libexec/talkd/table.c b/libexec/talkd/table.c
index cc8cb6628d68..ef5720608bf3 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 ea4837691600..9fd595016208 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
*/