projects
/
platform
/
upstream
/
c-ares.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b82874a
)
inet_ntop.c: s/socklen_t/ares_socklen_t
author
Yang Tse
<yangsita@gmail.com>
Tue, 19 Feb 2013 12:54:28 +0000
(13:54 +0100)
committer
Yang Tse
<yangsita@gmail.com>
Tue, 19 Feb 2013 12:54:28 +0000
(13:54 +0100)
inet_ntop.c
patch
|
blob
|
history
diff --git
a/inet_ntop.c
b/inet_ntop.c
index
eefc34a
..
9420f6c
100644
(file)
--- a/
inet_ntop.c
+++ b/
inet_ntop.c
@@
-195,11
+195,14
@@
inet_ntop6(const unsigned char *src, char *dst, size_t size)
strcpy(dst, tmp);
return (dst);
}
+
#else /* HAVE_INET_NTOP */
-const char *ares_inet_ntop(int af, const void *src, char *dst, socklen_t size)
+const char *
+ares_inet_ntop(int af, const void *src, char *dst, ares_socklen_t size)
{
/* just relay this to the underlying function */
return inet_ntop(af, src, dst, size);
}
+
#endif /* HAVE_INET_NTOP */