version 1.66, 2010/01/13 01:20:20 |
version 1.67, 2013/05/17 00:13:13 |
|
|
|
|
/* |
/* |
* Return the canonical name of the host at the other end of the socket. The |
* Return the canonical name of the host at the other end of the socket. The |
* caller should free the returned string with xfree. |
* caller should free the returned string. |
*/ |
*/ |
|
|
static char * |
static char * |
|
|
void |
void |
clear_cached_addr(void) |
clear_cached_addr(void) |
{ |
{ |
if (canonical_host_ip != NULL) { |
free(canonical_host_ip); |
xfree(canonical_host_ip); |
canonical_host_ip = NULL; |
canonical_host_ip = NULL; |
|
} |
|
cached_port = -1; |
cached_port = -1; |
} |
} |
|
|