From: Ulrich Drepper Date: Sat, 16 Aug 1997 19:47:17 +0000 (+0000) Subject: (getpeername): Correct type of len argument. X-Git-Tag: cvs/libc-ud-970816~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4397bc8b7063b3115b1cf0adc8f1c395832d35fa;p=thirdparty%2Fglibc.git (getpeername): Correct type of len argument. --- diff --git a/socket/sys/socket.h b/socket/sys/socket.h index 0a1102ada9b..f2f912a94ec 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. */