* Changed parameter back to socklen_t (which follows POSIX, but not RFC 2553;

obviously POSIX got it wrong, as socklen_t hardly makes sense here).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34004 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2009-11-11 17:03:34 +00:00
parent 119371a51e
commit e629da4a47
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ u_long inet_netof(struct in_addr address);
u_long inet_network(const char* addressString);
char* inet_ntoa(struct in_addr address);
const char* inet_ntop(int family, const void* source, char* dest,
size_t destSize);
socklen_t destSize);
int inet_pton(int family, const char* sourceString, void* dest);
u_int inet_nsap_addr(const char* sourceString, u_char* dest,
int destSize);

View File

@ -62,7 +62,7 @@ inet_ntop(af, src, dst, size)
int af;
const void *src;
char *dst;
size_t size;
socklen_t size;
{
switch (af) {
case AF_INET: