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

Diff for /src/usr.bin/ftp/ruserpass.c between version 1.11 and 1.12

version 1.11, 1998/03/30 06:59:35 version 1.12, 2000/07/27 19:59:13
Line 94 
Line 94 
   
         hdir = getenv("HOME");          hdir = getenv("HOME");
         if (hdir == NULL)          if (hdir == NULL)
                 hdir = ".";                  return (0);
         if (strlen(hdir) + sizeof(".netrc") < sizeof(buf)) {          if (strlen(hdir) + sizeof(".netrc") < sizeof(buf)) {
                 (void)sprintf(buf, "%s/.netrc", hdir);                  (void)sprintf(buf, "%s/.netrc", hdir);
         } else {          } else {

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12