Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/net correct arg type (salen) to conform to RFC2553.



details:   https://anonhg.NetBSD.org/src/rev/3efc53c1c34e
branches:  trunk
changeset: 487201:3efc53c1c34e
user:      itojun <itojun%NetBSD.org@localhost>
date:      Sun Jun 04 08:52:21 2000 +0000

description:
correct arg type (salen) to conform to RFC2553.

diffstat:

 lib/libc/net/getnameinfo.3 |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r f52efeb478b2 -r 3efc53c1c34e lib/libc/net/getnameinfo.3
--- a/lib/libc/net/getnameinfo.3        Sun Jun 04 08:51:23 2000 +0000
+++ b/lib/libc/net/getnameinfo.3        Sun Jun 04 08:52:21 2000 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: getnameinfo.3,v 1.7 2000/05/11 03:08:47 itojun Exp $
+.\"    $NetBSD: getnameinfo.3,v 1.8 2000/06/04 08:52:21 itojun Exp $
 .\"    $KAME: getnameinfo.3,v 1.10 2000/05/11 03:02:45 itojun Exp $
 .\"
 .\" Copyright (c) 1983, 1987, 1991, 1993
@@ -50,7 +50,7 @@
 .Fd #include <sys/socket.h>
 .Fd #include <netdb.h>
 .Ft int
-.Fn getnameinfo "const struct sockaddr *sa" "size_t salen" \
+.Fn getnameinfo "const struct sockaddr *sa" "socklen_t salen" \
 "char *host" "size_t hostlen" "char *serv" "size_t servlen" "int flags"
 .\"
 .Sh DESCRIPTION



Home | Main Index | Thread Index | Old Index