mirror of
https://github.com/curl/curl.git
synced 2026-05-13 22:06:23 +03:00
Undo last 'fix', since it was not the proper one.
This commit is contained in:
parent
ab31cfa664
commit
d14588120f
1 changed files with 4 additions and 3 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue