diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2004-03-02 21:04:43 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2004-03-02 21:04:43 +0000 |
commit | f4398f332bba1ad26f38a9f91f86877aa8637b1e (patch) | |
tree | b8b8f58ffabdea68ace2639461779be3e7daa785 /usr.bin/talk/talk.c | |
parent | ed451dcd19fb7bc912e368b685cd47aea96901f4 (diff) |
use socklen_t and better socket() checks. from Andrey Matveev
-Wall for good measure
Diffstat (limited to 'usr.bin/talk/talk.c')
-rw-r--r-- | usr.bin/talk/talk.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/talk/talk.c b/usr.bin/talk/talk.c index e21df863f16..afa415926a1 100644 --- a/usr.bin/talk/talk.c +++ b/usr.bin/talk/talk.c @@ -1,4 +1,4 @@ -/* $OpenBSD: talk.c,v 1.7 2003/06/10 22:20:53 deraadt Exp $ */ +/* $OpenBSD: talk.c,v 1.8 2004/03/02 21:04:42 tedu Exp $ */ /* $NetBSD: talk.c,v 1.3 1994/12/09 02:14:25 jtc Exp $ */ /* @@ -31,7 +31,7 @@ */ #ifndef lint -static char copyright[] = +static const char copyright[] = "@(#) Copyright (c) 1983, 1993\n\ The Regents of the University of California. All rights reserved.\n"; #endif /* not lint */ @@ -40,7 +40,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)talk.c 8.1 (Berkeley) 6/6/93"; #endif -static char rcsid[] = "$OpenBSD: talk.c,v 1.7 2003/06/10 22:20:53 deraadt Exp $"; +static const char rcsid[] = "$OpenBSD: talk.c,v 1.8 2004/03/02 21:04:42 tedu Exp $"; #endif /* not lint */ #include "talk.h" |