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

Diff for /src/usr.bin/finger/finger.c between version 1.5 and 1.6

version 1.5, 1997/01/15 23:42:28 version 1.6, 1997/01/17 07:12:31
Line 188 
Line 188 
         struct utmp user;          struct utmp user;
         struct passwd *pw;          struct passwd *pw;
         int dolocal, *used;          int dolocal, *used;
         char *index();  
   
         if (!(used = (int *)calloc((u_int)argc, (u_int)sizeof(int)))) {          if (!(used = (int *)calloc((u_int)argc, (u_int)sizeof(int)))) {
                 (void)fprintf(stderr, "finger: out of space.\n");                  (void)fprintf(stderr, "finger: out of space.\n");
Line 197 
Line 196 
   
         /* pull out all network requests */          /* pull out all network requests */
         for (i = 0, dolocal = 0, nettail = &nethead; i < argc; i++) {          for (i = 0, dolocal = 0, nettail = &nethead; i < argc; i++) {
                 if (!index(argv[i], '@')) {                  if (!strchr(argv[i], '@')) {
                         dolocal = 1;                          dolocal = 1;
                         continue;                          continue;
                 }                  }

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6