diff options
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) |