From f4fd1a5df1c2cc4b370eed0755b652de8cf1dd3b Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Tue, 16 Apr 2013 19:24:56 +0000 Subject: remove casts to time_t * which are not needed --- usr.bin/rdistd/server.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin/rdistd') diff --git a/usr.bin/rdistd/server.c b/usr.bin/rdistd/server.c index 59b1a775ef4..77b1217eb73 100644 --- a/usr.bin/rdistd/server.c +++ b/usr.bin/rdistd/server.c @@ -1,4 +1,4 @@ -/* $OpenBSD: server.c,v 1.23 2012/11/12 01:14:41 guenther Exp $ */ +/* $OpenBSD: server.c,v 1.24 2013/04/16 19:24:53 deraadt Exp $ */ /* * Copyright (c) 1983 Regents of the University of California. @@ -902,7 +902,7 @@ recvfile(char *new, opt_t opts, int mode, char *owner, char *group, * Perform utimes() after file is closed to make * certain OS's, such as NeXT 2.1, happy. */ - if (setfiletime(new, time((time_t *) 0), mtime) < 0) + if (setfiletime(new, time(NULL), mtime) < 0) message(MT_NOTICE, "%s: utimes failed: %s", new, SYSERR); /* -- cgit v1.2.3