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

Diff for /src/usr.bin/ftp/cmds.c between version 1.29 and 1.30

version 1.29, 1998/09/01 17:08:22 version 1.30, 1999/06/10 22:38:02
Line 2195 
Line 2195 
                 return;                  return;
         }          }
         p = getenv("PAGER");          p = getenv("PAGER");
         if (p == NULL)          if (p == NULL || (*p == '\0'))
                 p = PAGER;                  p = PAGER;
         if ((pager = malloc(strlen(p) + 2)) == NULL)          if ((pager = malloc(strlen(p) + 2)) == NULL)
                 errx(1, "Can't allocate memory for $PAGER");                  errx(1, "Can't allocate memory for $PAGER");

Legend:
Removed from v.1.29  
changed lines
  Added in v.1.30