diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-04-16 22:13:15 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-04-16 22:13:15 +0000 |
commit | 0f50b074dd478320423e38ce816bc1d25fca901d (patch) | |
tree | 35a4f4cf37dedeedcff8b2d62700072d551de9eb | |
parent | c000a45638a94c189200d58ae7203431e1055666 (diff) |
remove unneccessary time_t * cast
-rw-r--r-- | bin/ksh/mail.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ksh/mail.c b/bin/ksh/mail.c index 9f6c1eda45c..407e7ddfcdf 100644 --- a/bin/ksh/mail.c +++ b/bin/ksh/mail.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mail.c,v 1.15 2005/03/30 17:16:37 deraadt Exp $ */ +/* $OpenBSD: mail.c,v 1.16 2013/04/16 22:13:14 deraadt Exp $ */ /* * Mailbox checking code by Robert J. Gibson, adapted for PD ksh by @@ -43,7 +43,7 @@ mcheck(void) struct tbl *vp; struct stat stbuf; - now = time((time_t *) 0); + now = time(NULL); if (mlastchkd == 0) mlastchkd = now; if (now - mlastchkd >= mailcheck_interval) { |