diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-07-02 04:11:16 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-07-02 04:11:16 +0000 |
commit | 0f694ae96d84f79a0af4faf8665e6504ab09261e (patch) | |
tree | d2283d05172b5104629f122729bfea242ac545cd /libexec/talkd | |
parent | f2dc5ffcaf86708f87280083e7a61396e579b66d (diff) |
sequence space math hates me
Diffstat (limited to 'libexec/talkd')
-rw-r--r-- | libexec/talkd/process.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/talkd/process.c b/libexec/talkd/process.c index de888ac9269..2539be71e1a 100644 --- a/libexec/talkd/process.c +++ b/libexec/talkd/process.c @@ -1,4 +1,4 @@ -/* $OpenBSD: process.c,v 1.6 1996/07/02 04:07:59 deraadt Exp $ */ +/* $OpenBSD: process.c,v 1.7 1996/07/02 04:11:15 deraadt Exp $ */ /* * Copyright (c) 1983 Regents of the University of California. @@ -35,7 +35,7 @@ #ifndef lint /*static char sccsid[] = "from: @(#)process.c 5.10 (Berkeley) 2/26/91";*/ -static char rcsid[] = "$Id: process.c,v 1.6 1996/07/02 04:07:59 deraadt Exp $"; +static char rcsid[] = "$Id: process.c,v 1.7 1996/07/02 04:11:15 deraadt Exp $"; #endif /* not lint */ /* @@ -217,7 +217,7 @@ find_user(name, tty) if (!(statb.st_mode & S_IWGRP)) { if (status == NOT_HERE) status = PERMISSION_DENIED; - } else if (statb.st_atime - now < idle) { + } else if (now - statb.st_atime < idle) { idle = now - statb.st_atime; status = SUCCESS; ubuf1 = ubuf; |