aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/ratings.c
diff options
context:
space:
mode:
Diffstat (limited to 'FICS/ratings.c')
-rw-r--r--FICS/ratings.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/FICS/ratings.c b/FICS/ratings.c
index f293762..874a60d 100644
--- a/FICS/ratings.c
+++ b/FICS/ratings.c
@@ -1034,13 +1034,13 @@ com_assess(int p, param_list param)
{
double newsterr1;
double newsterr2;
- int p1 = p, p2, nowtime;
+ int p1 = p, p2;
int p1_connected = 1, p2_connected = 1;
int win1, draw1, loss1;
int win2, draw2, loss2;
+ time_t nowtime;
- // XXX
- nowtime = time(0);
+ nowtime = time(NULL);
if (param[0].type == TYPE_NULL) {
if (parray[p].game < 0) {