Return to fetch.c CVS log | Up to [local] / src / usr.bin / ftp |
version 1.38, 2002/02/16 21:27:46 | version 1.39, 2002/05/30 06:51:46 | ||
---|---|---|---|
|
|
||
host, portnum, path, savefile); | host, portnum, path, savefile); | ||
memset(&hints, 0, sizeof(hints)); | memset(&hints, 0, sizeof(hints)); | ||
hints.ai_family = PF_UNSPEC; | hints.ai_family = family; | ||
hints.ai_socktype = SOCK_STREAM; | hints.ai_socktype = SOCK_STREAM; | ||
port = portnum ? portnum : httpport; | port = portnum ? portnum : httpport; | ||
error = getaddrinfo(host, port, &hints, &res0); | error = getaddrinfo(host, port, &hints, &res0); |