diff options
author | 2013-04-16 19:24:53 +0000 | |
---|---|---|
committer | 2013-04-16 19:24:53 +0000 | |
commit | 5f9b15b43d63f43e267376b5262912eca4dd4e9d (patch) | |
tree | b39537238ca287459f0182db9ac7f068a885a06d /usr.bin/rdistd/server.c | |
parent | cannot inspect out_name via a time_t pointer; ok guenther (diff) | |
download | wireguard-openbsd-5f9b15b43d63f43e267376b5262912eca4dd4e9d.tar.xz wireguard-openbsd-5f9b15b43d63f43e267376b5262912eca4dd4e9d.zip |
remove casts to time_t * which are not needed
Diffstat (limited to 'usr.bin/rdistd/server.c')
-rw-r--r-- | usr.bin/rdistd/server.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); /* |