[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.45 and 1.46

version 1.45, 2003/03/31 23:04:07 version 1.46, 2003/04/05 17:19:47
Line 783 
Line 783 
                 if (strcmp(host, lasthost) != 0) {                  if (strcmp(host, lasthost) != 0) {
                         int oautologin;                          int oautologin;
   
                         (void)strcpy(lasthost, host);                          (void)strlcpy(lasthost, host, sizeof lasthost);
                         if (connected)                          if (connected)
                                 disconnect(0, NULL);                                  disconnect(0, NULL);
                         xargv[0] = __progname;                          xargv[0] = __progname;

Legend:
Removed from v.1.45  
changed lines
  Added in v.1.46