From: Yang Tse Date: Tue, 13 Dec 2005 13:50:22 +0000 (+0000) Subject: Undo last 'fix', since it was not the proper one. X-Git-Tag: curl-7_15_2~177 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d14588120f4f7634f56ada128f8f298bef21152f;p=thirdparty%2Fcurl.git Undo last 'fix', since it was not the proper one. --- diff --git a/lib/hostip6.c b/lib/hostip6.c index 6bdf179c0f..ae36ad7381 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)