Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/wall Call check_sender with NULL atime, meaning no s...
details: https://anonhg.NetBSD.org/src/rev/61aa58943f14
branches: trunk
changeset: 570762:61aa58943f14
user: christos <christos%NetBSD.org@localhost>
date: Wed Oct 27 17:49:19 2004 +0000
description:
Call check_sender with NULL atime, meaning no strict checking.
diffstat:
usr.bin/wall/wall.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (35 lines):
diff -r cf2f516f1412 -r 61aa58943f14 usr.bin/wall/wall.c
--- a/usr.bin/wall/wall.c Wed Oct 27 17:48:47 2004 +0000
+++ b/usr.bin/wall/wall.c Wed Oct 27 17:49:19 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: wall.c,v 1.24 2003/08/07 11:17:14 agc Exp $ */
+/* $NetBSD: wall.c,v 1.25 2004/10/27 17:49:19 christos Exp $ */
/*
* Copyright (c) 1988, 1990, 1993
@@ -39,7 +39,7 @@
#if 0
static char sccsid[] = "@(#)wall.c 8.2 (Berkeley) 11/16/93";
#endif
-__RCSID("$NetBSD: wall.c,v 1.24 2003/08/07 11:17:14 agc Exp $");
+__RCSID("$NetBSD: wall.c,v 1.25 2004/10/27 17:49:19 christos Exp $");
#endif /* not lint */
/*
@@ -93,7 +93,6 @@
gid_t egid;
struct wallgroup *wg;
struct passwd *pw;
- time_t atime;
setprogname(argv[0]);
egid = getegid();
@@ -101,7 +100,7 @@
err(1, "setegid");
pw = getpwnam("nobody");
- (void)check_sender(&atime, getuid(), egid);
+ (void)check_sender(NULL, getuid(), egid);
while ((ch = getopt(argc, argv, "g:n")) != -1)
switch (ch) {
Home |
Main Index |
Thread Index |
Old Index