Remove "sleeper" nonsense.
This commit is contained in:
parent
249834de3d
commit
ca78e3fb20
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user