]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
(getpeername): Correct type of len argument.
authorUlrich Drepper <drepper@redhat.com>
Sat, 16 Aug 1997 19:47:17 +0000 (19:47 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sat, 16 Aug 1997 19:47:17 +0000 (19:47 +0000)
socket/sys/socket.h

index 0a1102ada9b8314ee45279449f0cb7aa65bba9eb..f2f912a94ec895641bbb836e03e37f303de15aee 100644 (file)
@@ -113,7 +113,7 @@ extern int connect __P ((int __fd,
 /* Put the address of the peer connected to socket FD into *ADDR
    (which is *LEN bytes long), and its actual length into *LEN.  */
 extern int getpeername __P ((int __fd, __SOCKADDR_ARG __addr,
-                            size_t *__len));
+                            socklen_t *__len));
 
 
 /* Send N bytes of BUF to socket FD.  Returns the number sent or -1.  */