version 1.5, 1997/01/15 23:42:28 |
version 1.6, 1997/01/17 07:12:31 |
|
|
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"); |
|
|
|
|
/* 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; |
} |
} |