diff options
author | Rodney W. Grimes <rgrimes@FreeBSD.org> | 1995-05-30 06:41:30 +0000 |
---|---|---|
committer | Rodney W. Grimes <rgrimes@FreeBSD.org> | 1995-05-30 06:41:30 +0000 |
commit | 7799f52a32f592a7efe259bc3411ba52d13db797 (patch) | |
tree | 350f6f98843363254f9afe467ae0c92d5a9d7f43 /usr.bin/w/w.c | |
parent | 5ebc7e6281887681c3a348a5a4c902e262ccd656 (diff) | |
download | src-test2-7799f52a32f592a7efe259bc3411ba52d13db797.tar.gz src-test2-7799f52a32f592a7efe259bc3411ba52d13db797.zip |
Notes
Diffstat (limited to 'usr.bin/w/w.c')
-rw-r--r-- | usr.bin/w/w.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/w/w.c b/usr.bin/w/w.c index ea5d2ca2bbcd..b5075339c708 100644 --- a/usr.bin/w/w.c +++ b/usr.bin/w/w.c @@ -265,7 +265,7 @@ main(argc, argv) /* sort by idle time */ if (sortidle && ehead != NULL) { struct entry *from = ehead, *save; - + ehead = NULL; while (from != NULL) { for (nextp = &ehead; @@ -278,7 +278,7 @@ main(argc, argv) *nextp = save; } } - + if (!nflag) if (gethostname(domain, sizeof(domain) - 1) < 0 || (p = strchr(domain, '.')) == 0) |