Home
last modified time | relevance | path

Searched refs:hostnamebuf (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dftp.c177 static char hostnamebuf[80]; in hookup() local
222 hostnamebuf[0] = '\0'; in hookup()
224 (void) inet_ntop(AF_INET, &src4, hostnamebuf, in hookup()
225 sizeof (hostnamebuf)); in hookup()
233 strlen(hostnamebuf) <= strlen(host)) { in hookup()
234 (void) strlcpy(host, hostnamebuf, strlen(host) + 1); in hookup()
238 (void) strlcpy(hostnamebuf, in hookup()
240 sizeof (hostnamebuf)); in hookup()
243 hostname = hostnamebuf; in hookup()