Remove "sleeper" nonsense.

This commit is contained in:
Tim J. Robbins 2003-02-21 08:46:44 +00:00
parent 249834de3d
commit ca78e3fb20

View File

@ -72,8 +72,6 @@ static const char sccsid[] = "@(#)wall.c 8.2 (Berkeley) 11/16/93";
static void makemsg(char *); static void makemsg(char *);
static void usage(void); static void usage(void);
#define IGNOREUSER "sleeper"
struct wallgroup { struct wallgroup {
struct wallgroup *next; struct wallgroup *next;
char *name; char *name;
@ -140,8 +138,7 @@ main(int argc, char *argv[])
iov.iov_len = mbufsize; iov.iov_len = mbufsize;
/* NOSTRICT */ /* NOSTRICT */
while (fread((char *)&utmp, sizeof(utmp), 1, fp) == 1) { while (fread((char *)&utmp, sizeof(utmp), 1, fp) == 1) {
if (!utmp.ut_name[0] || if (!utmp.ut_name[0])
!strncmp(utmp.ut_name, IGNOREUSER, sizeof(utmp.ut_name)))
continue; continue;
if (grouplist) { if (grouplist) {
ingroup = 0; ingroup = 0;