summaryrefslogtreecommitdiff
path: root/libexec/talkd/announce.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-07-18 00:05:34 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-07-18 00:05:34 +0000
commitd1c635953a53a741051f273535a82f5cdf3ec21e (patch)
tree3722c1a45952cacd60dd9a1d8ccd160cbf2c7aec /libexec/talkd/announce.c
parentc4b67ac11a30911586194140c769b5b4a87d92f2 (diff)
\007 instead of ^G; from phk@freebsd.org
Diffstat (limited to 'libexec/talkd/announce.c')
-rw-r--r--libexec/talkd/announce.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/talkd/announce.c b/libexec/talkd/announce.c
index 6e7863c2be7..38b8c4fcd26 100644
--- a/libexec/talkd/announce.c
+++ b/libexec/talkd/announce.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: announce.c,v 1.4 1996/07/17 23:41:10 deraadt Exp $ */
+/* $OpenBSD: announce.c,v 1.5 1996/07/18 00:05:33 deraadt Exp $ */
/*
* Copyright (c) 1983 Regents of the University of California.
@@ -35,7 +35,7 @@
#ifndef lint
/*static char sccsid[] = "from: @(#)announce.c 5.9 (Berkeley) 2/26/91";*/
-static char rcsid[] = "$Id: announce.c,v 1.4 1996/07/17 23:41:10 deraadt Exp $";
+static char rcsid[] = "$Id: announce.c,v 1.5 1996/07/18 00:05:33 deraadt Exp $";
#endif /* not lint */
#include <sys/types.h>
@@ -188,7 +188,7 @@ print_mesg(tf, request, remote_machine)
max_size = max(max_size, sizes[i]);
i++;
bptr = big_buf;
- *bptr++ = ''; /* send something to wake them up */
+ *bptr++ = '\007'; /* send something to wake them up */
*bptr++ = '\r'; /* add a \r in case of raw mode */
*bptr++ = '\n';
for (i = 0; i < N_LINES; i++) {