summaryrefslogtreecommitdiff
path: root/usr.bin/talk/ctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/talk/ctl.c')
-rw-r--r--usr.bin/talk/ctl.c17
1 files changed, 2 insertions, 15 deletions
diff --git a/usr.bin/talk/ctl.c b/usr.bin/talk/ctl.c
index 558730679ae..ea1d5ee8548 100644
--- a/usr.bin/talk/ctl.c
+++ b/usr.bin/talk/ctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ctl.c,v 1.9 2004/03/02 21:04:42 tedu Exp $ */
+/* $OpenBSD: ctl.c,v 1.10 2009/05/09 11:05:00 chl Exp $ */
/* $NetBSD: ctl.c,v 1.3 1994/12/09 02:14:10 jtc Exp $ */
/*
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)ctl.c 8.1 (Berkeley) 6/6/93";
#endif
-static const char rcsid[] = "$OpenBSD: ctl.c,v 1.9 2004/03/02 21:04:42 tedu Exp $";
+static const char rcsid[] = "$OpenBSD: ctl.c,v 1.10 2009/05/09 11:05:00 chl Exp $";
#endif /* not lint */
/*
@@ -99,16 +99,3 @@ open_ctl(void)
(struct sockaddr *)&ctl_addr, &length) == -1)
quit("Bad address for ctl socket", 1);
}
-
-/* print_addr is a debug print routine */
-void
-print_addr(struct sockaddr_in addr)
-{
- int i;
-
- printf("addr = %s, port = %o, family = %o zero = ",
- inet_ntoa(addr.sin_addr), addr.sin_port, addr.sin_family);
- for (i = 0; i < 8; i++)
- printf("%o ", (int)addr.sin_zero[i]);
- putchar('\n');
-}