=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/talk/ctl.c,v retrieving revision 1.9 retrieving revision 1.10 diff -c -r1.9 -r1.10 *** src/usr.bin/talk/ctl.c 2004/03/02 21:04:42 1.9 --- src/usr.bin/talk/ctl.c 2009/05/09 11:05:00 1.10 *************** *** 1,4 **** ! /* $OpenBSD: ctl.c,v 1.9 2004/03/02 21:04:42 tedu Exp $ */ /* $NetBSD: ctl.c,v 1.3 1994/12/09 02:14:10 jtc Exp $ */ /* --- 1,4 ---- ! /* $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,40 **** #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 $"; #endif /* not lint */ /* --- 34,40 ---- #if 0 static char sccsid[] = "@(#)ctl.c 8.1 (Berkeley) 6/6/93"; #endif ! static const char rcsid[] = "$OpenBSD: ctl.c,v 1.10 2009/05/09 11:05:00 chl Exp $"; #endif /* not lint */ /* *************** *** 98,114 **** if (getsockname(ctl_sockt, (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'); } --- 98,101 ----