aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1997-08-16 19:47:17 +0000
committerUlrich Drepper <drepper@redhat.com>1997-08-16 19:47:17 +0000
commit4397bc8b7063b3115b1cf0adc8f1c395832d35fa (patch)
tree36324953b46b685287417fe713752f3b1b8fc1da
parent30d1c15022a20aa78d5d9a5e874f467f8fab5e1a (diff)
downloadglibc-4397bc8b7063b3115b1cf0adc8f1c395832d35fa.zip
glibc-4397bc8b7063b3115b1cf0adc8f1c395832d35fa.tar.gz
glibc-4397bc8b7063b3115b1cf0adc8f1c395832d35fa.tar.bz2
(getpeername): Correct type of len argument.
-rw-r--r--socket/sys/socket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/socket/sys/socket.h b/socket/sys/socket.h
index 0a1102a..f2f912a 100644
--- a/socket/sys/socket.h
+++ b/socket/sys/socket.h
@@ -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. */