* 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:
parent
119371a51e
commit
e629da4a47
@ -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);
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user