mirror of
https://github.com/moparisthebest/curl
synced 2024-11-10 11:35:07 -05:00
Undo last 'fix', since it was not the proper one.
This commit is contained in:
parent
ab31cfa664
commit
d14588120f
@ -143,9 +143,10 @@ int curl_dogetnameinfo(const struct sockaddr *sa, socklen_t salen,
|
|||||||
char *serv, size_t servlen, int flags,
|
char *serv, size_t servlen, int flags,
|
||||||
int line, const char *source)
|
int line, const char *source)
|
||||||
{
|
{
|
||||||
int res = (getnameinfo)(sa, (size_t)salen,
|
int res = (getnameinfo)(sa, salen,
|
||||||
host, hostlen, serv, servlen,
|
host, hostlen,
|
||||||
(unsigned int)flags);
|
serv, servlen,
|
||||||
|
flags);
|
||||||
if(0 == res) {
|
if(0 == res) {
|
||||||
/* success */
|
/* success */
|
||||||
if(logfile)
|
if(logfile)
|
||||||
|
Loading…
Reference in New Issue
Block a user