summary refs log tree commit diff
path: root/inet
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-04-02 08:26:29 +0000
committerUlrich Drepper <drepper@redhat.com>2000-04-02 08:26:29 +0000
commite10b8512ce40cfb9f706e40edc7ed0ebdd151471 (patch)
treee3ae1af17d9d5ac7c895a7066a96ca07ee371fe9 /inet
parent750f9af6199e4a76e04c819b25dfcb58cf779b60 (diff)
downloadglibc-e10b8512ce40cfb9f706e40edc7ed0ebdd151471.tar.gz
glibc-e10b8512ce40cfb9f706e40edc7ed0ebdd151471.tar.xz
glibc-e10b8512ce40cfb9f706e40edc7ed0ebdd151471.zip
Update.
2000-04-02  Ulrich Drepper  <drepper@redhat.com>

	* resolv/netdb.h (getnameinfo): All lenght parameters are of type
	socklen_t.
	* inet/getnameinfo.c: Likewise.
Diffstat (limited to 'inet')
-rw-r--r--inet/getnameinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/inet/getnameinfo.c b/inet/getnameinfo.c
index 9f5d761f1a..2a6e01f505 100644
--- a/inet/getnameinfo.c
+++ b/inet/getnameinfo.c
@@ -166,7 +166,7 @@ nrl_domainname (void)
 
 int
 getnameinfo (const struct sockaddr *sa, socklen_t addrlen, char *host,
-	     size_t hostlen, char *serv, size_t servlen, int flags)
+	     socklen_t hostlen, char *serv, socklen_t servlen, int flags)
 {
   int serrno = errno;
   int tmpbuflen = 1024;