aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2023-12-17 19:24:56 +0100
committerMarkus Uhlin <markus@nifty-networks.net>2023-12-17 19:24:56 +0100
commit80a57b28738c0bfa093a27740a56a36cb544b500 (patch)
treee2ad2b894f0d8de00bf3e4294e4994a8b2e90af8
parent06b7ca203d9ac5e765bcdd6caa5e1a480f4f9a79 (diff)
Pass NULL to time()
-rw-r--r--FICS/ficsmain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/FICS/ficsmain.c b/FICS/ficsmain.c
index 1317955..1ff9c6e 100644
--- a/FICS/ficsmain.c
+++ b/FICS/ficsmain.c
@@ -149,7 +149,7 @@ main(int argc, char *argv[])
return EXIT_FAILURE;
}
- startuptime = time(0);
+ startuptime = time(NULL);
strcpy(fics_hostname, SERVER_HOSTNAME);
game_high = 0;
player_high = 0;