summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2005-10-28 13:32:54 +0000
committerSimon Josefsson <simon@josefsson.org>2005-10-28 13:32:54 +0000
commit41803c68040255309223a08d47b658e12ef0fdaa (patch)
tree6a6e1bcf2c5445046d90a38b57874b3f7a35b2e0
parent74da3ed3d20189e3db42ddf8c587474ddde317ab (diff)
downloadgnutls-41803c68040255309223a08d47b658e12ef0fdaa.tar.gz
Update.
-rw-r--r--gl/inet_ntop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gl/inet_ntop.c b/gl/inet_ntop.c
index a6b17265dc..52f544d5e2 100644
--- a/gl/inet_ntop.c
+++ b/gl/inet_ntop.c
@@ -80,12 +80,12 @@ inet_ntop (int af, const void *restrict src,
{
#if HAVE_IPV4
case AF_INET:
- return (inet_ntop4 (src, dst, size));
+ return (inet_ntop4 (src, dst, cnt));
#endif
#if HAVE_IPV6
case AF_INET6:
- return (inet_ntop6 (src, dst, size));
+ return (inet_ntop6 (src, dst, cnt));
#endif
default: