Does anyone object to this?
Kris
Index: wall.c
===================================================================
RCS file: /mnt/ncvs/src/usr.bin/wall/wall.c,v
retrieving revision 1.19
diff -u -r1.19 wall.c
--- wall.c 2001/05/08 11:11:42 1.19
+++ wall.c 2001/09/06 10:06:06
@@ -71,8 +71,6 @@
static void usage(void);
char *ttymsg(struct iovec *, int, const char *, int);
-#define IGNOREUSER "sleeper"
-
struct wallgroup {
struct wallgroup *next;
char *name;
@@ -140,8 +138,7 @@
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) {
strlcpy(username, utmp.ut_name, sizeof(utmp.ut_name));
PGP signature