diff options
author | Yang Tse <yangsita@gmail.com> | 2005-12-11 23:37:58 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2005-12-11 23:37:58 +0000 |
commit | b15f3bb969e974eadc224e1772dd4134f7f781c4 (patch) | |
tree | a4fa4cd50c9e2f07240dd732bfc811a22d9a8b0c /lib/hostip6.c | |
parent | 998e8cba1984c10fd005fc972c4e0aa9a3fd33da (diff) |
Undo last changes
Diffstat (limited to 'lib/hostip6.c')
-rw-r--r-- | lib/hostip6.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/hostip6.c b/lib/hostip6.c index edfbd54f4..04ebaedee 100644 --- a/lib/hostip6.c +++ b/lib/hostip6.c @@ -138,12 +138,12 @@ int curl_dogetaddrinfo(char *hostname, char *service, return res; } -int curl_dogetnameinfo(const struct sockaddr *sa, size_t salen, +int curl_dogetnameinfo(const struct sockaddr *sa, socklen_t salen, char *host, size_t hostlen, char *serv, size_t servlen, int flags, int line, const char *source) { - int res = (getnameinfo)(sa, salen, host, hostlen, serv, servlen, flags); + int res=(getnameinfo)(sa, salen, host, hostlen, serv, servlen, flags); if(0 == res) { /* success */ if(logfile) |