aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/adminproc.c
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2024-05-09 22:47:50 +0200
committerMarkus Uhlin <markus@nifty-networks.net>2024-05-09 22:47:50 +0200
commit56ae9cf88f9603a780cf6b5cf9b7483cd9d252a2 (patch)
treeb95b6a072f79c01800fd42deb5bc49fed9fcbd8e /FICS/adminproc.c
parent9bf7f856804aca90cfb285e1e94ba16b7d42bf2d (diff)
Usage of 'time_t'
Diffstat (limited to 'FICS/adminproc.c')
-rw-r--r--FICS/adminproc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/FICS/adminproc.c b/FICS/adminproc.c
index 7081cad..eb30ff8 100644
--- a/FICS/adminproc.c
+++ b/FICS/adminproc.c
@@ -1500,7 +1500,7 @@ SetRating(int p1, param_list param, statistics *s)
if (s->num == 0) {
s->ltime = 0L;
} else {
- s->ltime = time(0);
+ s->ltime = time(NULL);
}
}