diff options
author | Yang Tse <yangsita@gmail.com> | 2005-12-13 13:50:22 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2005-12-13 13:50:22 +0000 |
commit | d14588120f4f7634f56ada128f8f298bef21152f (patch) | |
tree | 40ce9120c1838fe5f0a3e5976ad26b2aa5092c04 /lib | |
parent | ab31cfa664ced773a69c8f87f0e22daf85315763 (diff) |
Undo last 'fix', since it was not the proper one.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/hostip6.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/hostip6.c b/lib/hostip6.c index 6bdf179c0..ae36ad738 100644 --- a/lib/hostip6.c +++ b/lib/hostip6.c @@ -143,9 +143,10 @@ int curl_dogetnameinfo(const struct sockaddr *sa, socklen_t salen, char *serv, size_t servlen, int flags, int line, const char *source) { - int res = (getnameinfo)(sa, (size_t)salen, - host, hostlen, serv, servlen, - (unsigned int)flags); + int res = (getnameinfo)(sa, salen, + host, hostlen, + serv, servlen, + flags); if(0 == res) { /* success */ if(logfile) |