458 |
|
return; |
459 |
|
} |
460 |
|
|
461 |
< |
if (getsockname(auth->client->localClient->fd.fd, (struct sockaddr *) &us, |
462 |
< |
(socklen_t *) &ulen) || |
463 |
< |
getpeername(auth->client->localClient->fd.fd, (struct sockaddr *) &them, |
464 |
< |
(socklen_t *) &tlen)) |
461 |
> |
if (getsockname(auth->client->localClient->fd.fd, (struct sockaddr *)&us, |
462 |
> |
&ulen) || |
463 |
> |
getpeername(auth->client->localClient->fd.fd, (struct sockaddr *)&them, |
464 |
> |
&tlen)) |
465 |
|
{ |
466 |
|
ilog(L_INFO, "auth get{sock,peer}name error for %s", |
467 |
|
get_client_name(auth->client, SHOW_IP)); |