diff options
author | tjr <tjr@FreeBSD.org> | 2003-02-21 08:46:44 +0000 |
---|---|---|
committer | tjr <tjr@FreeBSD.org> | 2003-02-21 08:46:44 +0000 |
commit | e63d1e49edb2922af83448423383e05fd7bcd6e0 (patch) | |
tree | dbc1e409ac9937a26251eb973d7f4dde96abfa42 /usr.bin/wall | |
parent | 0d1c515c8e530a1793d677ed53f98f644d21b87c (diff) | |
download | FreeBSD-src-e63d1e49edb2922af83448423383e05fd7bcd6e0.zip FreeBSD-src-e63d1e49edb2922af83448423383e05fd7bcd6e0.tar.gz |
Remove "sleeper" nonsense.
Diffstat (limited to 'usr.bin/wall')
-rw-r--r-- | usr.bin/wall/wall.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.bin/wall/wall.c b/usr.bin/wall/wall.c index b34f648..35d6463 100644 --- a/usr.bin/wall/wall.c +++ b/usr.bin/wall/wall.c @@ -72,8 +72,6 @@ static const char sccsid[] = "@(#)wall.c 8.2 (Berkeley) 11/16/93"; static void makemsg(char *); static void usage(void); -#define IGNOREUSER "sleeper" - struct wallgroup { struct wallgroup *next; char *name; @@ -140,8 +138,7 @@ main(int argc, char *argv[]) iov.iov_len = mbufsize; /* NOSTRICT */ while (fread((char *)&utmp, sizeof(utmp), 1, fp) == 1) { - if (!utmp.ut_name[0] || - !strncmp(utmp.ut_name, IGNOREUSER, sizeof(utmp.ut_name))) + if (!utmp.ut_name[0]) continue; if (grouplist) { ingroup = 0; |