[BACK]Return to fetch.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ftp

Diff for /src/usr.bin/ftp/fetch.c between version 1.38 and 1.39

version 1.38, 2002/02/16 21:27:46 version 1.39, 2002/05/30 06:51:46
Line 285 
Line 285 
                     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);

Legend:
Removed from v.1.38  
changed lines
  Added in v.1.39