diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2024-04-07 16:48:50 +0200 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2024-04-07 16:48:50 +0200 |
commit | a857d369124b5c9bcba00621aebca53ee3c2acbc (patch) | |
tree | 5935dc80210ffbbba665c821a4109aea272c531c /FICS | |
parent | e147844db2220d421a17c9d232df33ab32e93f65 (diff) |
Fixed bogus type of 'nowtime'
Diffstat (limited to 'FICS')
-rw-r--r-- | FICS/ratings.c | 6 |
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) { |