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

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/usr.bin/ftp/fetch.c between version 1.141 and 1.142

version 1.141, 2003/05/14 14:31:00 version 1.142, 2003/07/12 13:30:04
Line 665  fetch_url(const char *url, const char *p
Line 665  fetch_url(const char *url, const char *p
                          */                           */
                         ai_unmapped(res);                          ai_unmapped(res);
                         if (getnameinfo(res->ai_addr, res->ai_addrlen,                          if (getnameinfo(res->ai_addr, res->ai_addrlen,
                                         hbuf, sizeof(hbuf), NULL, 0,                              hbuf, sizeof(hbuf), NULL, 0, NI_NUMERICHOST) != 0)
                                         NI_NUMERICHOST) != 0)                                  strlcpy(hbuf, "invalid", sizeof(hbuf));
                                 strncpy(hbuf, "invalid", sizeof(hbuf));  
   
                         if (verbose && res != res0)                          if (verbose && res != res0)
                                 fprintf(ttyout, "Trying %s...\n", hbuf);                                  fprintf(ttyout, "Trying %s...\n", hbuf);

Legend:
Removed from v.1.141  
changed lines
  Added in v.1.142

CVSweb <webmaster@jp.NetBSD.org>